Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FAILED: CMakeFiles/Example.dir/example.cpp.obj
- "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
- 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.
- 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
- with
- [
- Function=Example *,
- _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
- ]
- 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
- 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
- with
- [
- Function=Example *,
- _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
- ]
- 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
- with
- [
- _Ty=Example *,
- Function=Example *
- ]
- 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
- with
- [
- Function=Example *
- ]
- 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>'
- with
- [
- _Callable=Example *
- ]
- 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
- C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(125): error C2938: 'std::invoke_result_t' : Failed to specialize alias template
- C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentstoredfunctioncall.h(136): error C2955: 'QtConcurrent::RunFunctionTask': use of class template requires template argument list
- C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent/qtconcurrentrunbase.h(134): note: see declaration of 'QtConcurrent::RunFunctionTask'
- 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
- with
- [
- Function=Example *,
- _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
- ]
- 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 &>'
- with
- [
- Function=Example *,
- _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
- ]
- C:\Qt6\6.0.0\msvc2019_64\include\QtConcurrent\qtconcurrentrun.h(176): note: see declaration of 'QtConcurrent::StoredFunctionCall<Function,_Ty,QUrl &>'
- with
- [
- Function=Example *,
- _Ty=QByteArray (__cdecl Example::* )(const QUrl &)
- ]
- C:\Users\krab\Desktop\Example\example.cpp(10): error C3313: 'future': variable cannot have the type 'void'
- ninja: build stopped: subcommand failed.
- 22:09:20: The process "C:\Program Files\CMake\bin\cmake.exe" exited with code 1.
- Error while building/deploying project Example (kit: Desktop Qt 6.0.0 MSVC2019 64bit)
- When executing step "CMake Build"
- 22:09:20: Elapsed time: 00:05.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement