Advertisement
Guest User

Untitled

a guest
Oct 6th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. FAILED: CMakeFiles/Example.dir/example.cpp.obj
  2. "C:\PROGRA~2\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\cl.exe" /nologo /TP -DQT_CORE_LIB -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -I. -IC:\Users\krab\Desktop\Example -IExample_autogen\include -IC:\Qt6\6.0.0\msvc2019_64\include\QtCore -IC:\Qt6\6.0.0\msvc2019_64\mkspecs\win32-msvc -IC:\Qt6\6.0.0\msvc2019_64\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -Zc:__cplusplus -utf-8 -std:c++17 /showIncludes /FoCMakeFiles\Example.dir\example.cpp.obj /FdCMakeFiles\Example.dir\ /FS -c C:\Users\krab\Desktop\Example\example.cpp
  3. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(122): error C2338: It's not possible to invoke the function with passed arguments.
  4. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(135): note: see reference to class template instantiation 'QtConcurrent::InvokeResult<Function,_Ty,QUrl &>' being compiled
  5. with
  6. [
  7. Function=Example *,
  8. _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
  9. ]
  10. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(135): note: see reference to alias template instantiation 'QtConcurrent::InvokeResultType<Example*,QByteArray(__cdecl Example::* )(const QUrl &),QUrl&>' being compiled
  11. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(175): note: see reference to class template instantiation 'QtConcurrent::StoredFunctionCall<Function,_Ty,QUrl &>' being compiled
  12. with
  13. [
  14. Function=Example *,
  15. _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
  16. ]
  17. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(183): note: see reference to function template instantiation 'auto QtConcurrent::run<_Ty,QByteArray(__cdecl Example::* )(const QUrl &),QUrl&>(QThreadPool *,Function &&,QByteArray (__cdecl Example::* &&)(const QUrl &),QUrl &)' being compiled
  18. with
  19. [
  20. _Ty=Example *,
  21. Function=Example *
  22. ]
  23. C:\Users\krab\Desktop\Example\example.cpp(10): note: see reference to function template instantiation 'auto QtConcurrent::run<Example*,QByteArray(__cdecl Example::* )(const QUrl &),QUrl&>(Function &&,QByteArray (__cdecl Example::* &&)(const QUrl &),QUrl &)' being compiled
  24. with
  25. [
  26. Function=Example *
  27. ]
  28. C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\type_traits(1808): error C2794: 'type': is not a member of any direct or indirect base class of 'std::_Invoke_traits_nonzero<void,_Callable,QByteArray (__cdecl Example::* )(const QUrl &),QUrl>'
  29. with
  30. [
  31. _Callable=Example *
  32. ]
  33. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(125): note: see reference to alias template instantiation 'std::invoke_result_t<Example*,QByteArray(__cdecl Example::* )(const QUrl &),QUrl>' being compiled
  34. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(125): error C2938: 'std::invoke_result_t' : Failed to specialize alias template
  35. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(136): error C2955: 'QtConcurrent::RunFunctionTask': use of class template requires template argument list
  36. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentrunbase.h(134): note: see declaration of 'QtConcurrent::RunFunctionTask'
  37. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(146): error C3668: 'QtConcurrent::StoredFunctionCall<Function,_Ty,QUrl &>::runFunctor': method with override specifier 'override' did not override any base class methods
  38. with
  39. [
  40. Function=Example *,
  41. _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
  42. ]
  43. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(177): error C2039: 'start': is not a member of 'QtConcurrent::StoredFunctionCall<Function,_Ty,QUrl &>'
  44. with
  45. [
  46. Function=Example *,
  47. _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
  48. ]
  49. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(176): note: see declaration of 'QtConcurrent::StoredFunctionCall<Function,_Ty,QUrl &>'
  50. with
  51. [
  52. Function=Example *,
  53. _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
  54. ]
  55. C:\Users\krab\Desktop\Example\example.cpp(10): error C3313: 'future': variable cannot have the type 'void'
  56. ninja: build stopped: subcommand failed.
  57. 22:09:20: The process "C:\Program Files\CMake\bin\cmake.exe" exited with code 1.
  58. Error while building/deploying project Example (kit: Desktop Qt 6.0.0 MSVC2019 64bit)
  59. When executing step "CMake Build"
  60. 22:09:20: Elapsed time: 00:05.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement