Advertisement
Guest User

Untitled

a guest
Oct 6th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 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,QUrl &>' being compiled
  5. with
  6. [
  7. Function=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>
  8. ]
  9. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(135): note: see reference to alias template instantiation 'QtConcurrent::InvokeResultType<std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>,QUrl&>' being compiled
  10. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(175): note: see reference to class template instantiation 'QtConcurrent::StoredFunctionCall<Function,QUrl &>' being compiled
  11. with
  12. [
  13. Function=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>
  14. ]
  15. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(183): note: see reference to function template instantiation 'auto QtConcurrent::run<_Ty,QUrl&>(QThreadPool *,Function &&,QUrl &)' being compiled
  16. with
  17. [
  18. _Ty=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>,
  19. Function=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>
  20. ]
  21. C:\Users\krab\Desktop\Example\example.cpp(10): note: see reference to function template instantiation 'auto QtConcurrent::run<std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>,QUrl&>(Function &&,QUrl &)' being compiled
  22. with
  23. [
  24. Function=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>
  25. ]
  26. 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,QUrl>'
  27. with
  28. [
  29. _Callable=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>
  30. ]
  31. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(125): note: see reference to alias template instantiation 'std::invoke_result_t<std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>,QUrl>' being compiled
  32. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(125): error C2938: 'std::invoke_result_t' : Failed to specialize alias template
  33. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(136): error C2955: 'QtConcurrent::RunFunctionTask': use of class template requires template argument list
  34. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentrunbase.h(134): note: see declaration of 'QtConcurrent::RunFunctionTask'
  35. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(146): error C3668: 'QtConcurrent::StoredFunctionCall<Function,QUrl &>::runFunctor': method with override specifier 'override' did not override any base class methods
  36. with
  37. [
  38. Function=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>
  39. ]
  40. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(177): error C2039: 'start': is not a member of 'QtConcurrent::StoredFunctionCall<Function,QUrl &>'
  41. with
  42. [
  43. Function=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>
  44. ]
  45. C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(176): note: see declaration of 'QtConcurrent::StoredFunctionCall<Function,QUrl &>'
  46. with
  47. [
  48. Function=std::_Binder<std::_Unforced,QByteArray (__cdecl Example::* )(const QUrl &),Example *>
  49. ]
  50. C:\Users\krab\Desktop\Example\example.cpp(10): error C3313: 'future': variable cannot have the type 'void'
  51. ninja: build stopped: subcommand failed.
  52. 22:12:36: The process "C:\Program Files\CMake\bin\cmake.exe" exited with code 1.
  53. Error while building/deploying project Example (kit: Desktop Qt 6.0.0 MSVC2019 64bit)
  54. When executing step "CMake Build"
  55. 22:12:36: Elapsed time: 00:02.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement