12:48:36: Running steps for project qtbug... 12:48:36: Starting: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build C:/build-qtbug-Desktop_Qt_6_2_1_MSVC2019_64bit_qt_qt6-Debug --target all [1/4 5.9/sec] Automatic MOC and UIC for target qtbug [2/4 5.9/sec] Building CXX object CMakeFiles\qtbug.dir\qtbug_autogen\mocs_compilation.cpp.obj [3/4 1.4/sec] Building CXX object CMakeFiles\qtbug.dir\main.cpp.obj FAILED: CMakeFiles/qtbug.dir/main.cpp.obj C:\PROGRA~2\MICROS~3\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /nologo /TP -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NETWORK_LIB -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:\build-qtbug-Desktop_Qt_6_2_1_MSVC2019_64bit_qt_qt6-Debug\qtbug_autogen\include -IC:\qtbug -IC:\Qt\6.2.1\msvc2019_64\include\QtCore -IC:\Qt\6.2.1\msvc2019_64\include -IC:\Qt\6.2.1\msvc2019_64\mkspecs\win32-msvc -IC:\Qt\6.2.1\msvc2019_64\include\QtConcurrent -IC:\Qt\6.2.1\msvc2019_64\include\QtNetwork /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -MDd -Zc:__cplusplus -permissive- -utf-8 -std:c++17 /showIncludes /FoCMakeFiles\qtbug.dir\main.cpp.obj /FdCMakeFiles\qtbug.dir\ /FS -c C:\qtbug\main.cpp C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(896): error C2280: 'QtPrivate::Continuation,void,T>::create::::(const QtPrivate::Continuation,void,T>::create:: &)': attempting to reference a deleted function with [ T=QNetworkReply * ] C:\Qt\6.2.1\msvc2019_64\include\QtCore/qfuture_impl.h(479): note: see declaration of 'QtPrivate::Continuation,void,T>::create::::' with [ T=QNetworkReply * ] C:\Qt\6.2.1\msvc2019_64\include\QtCore/qfuture_impl.h(479): note: 'QtPrivate::Continuation,void,T>::create::::(const QtPrivate::Continuation,void,T>::create:: &)': function was implicitly deleted because a data member invokes a deleted or inaccessible function 'test::::(const test:: &)' with [ T=QNetworkReply * ] C:\qtbug\main.cpp(27): note: 'test::::(const test:: &)': function was implicitly deleted because a data member invokes a deleted or inaccessible function 'QPromise::QPromise(const QPromise &)' C:\Qt\6.2.1\msvc2019_64\include\QtCore\qpromise.h(60): note: 'QPromise::QPromise(const QPromise &)': function was explicitly deleted C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(901): note: see reference to function template instantiation 'std::_Func_impl_no_alloc,void,T>::create::,_Ret,const QFutureInterfaceBase &>::_Func_impl_no_alloc(_Other)' being compiled with [ T=QNetworkReply *, _Ret=void, _Callable=QtPrivate::Continuation,void,QNetworkReply *>::create::, _Other=const QtPrivate::Continuation,void,QNetworkReply *>::create:: & ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(906): note: see reference to function template instantiation 'std::_Func_impl_no_alloc,void,T>::create::,_Ret,const QFutureInterfaceBase &>::_Func_impl_no_alloc(_Other)' being compiled with [ T=QNetworkReply *, _Ret=void, _Callable=QtPrivate::Continuation,void,QNetworkReply *>::create::, _Other=const QtPrivate::Continuation,void,QNetworkReply *>::create:: & ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(901): note: while compiling class template member function 'std::_Func_base<_Ret,const QFutureInterfaceBase &> *std::_Func_impl_no_alloc,void,T>::create::,_Ret,const QFutureInterfaceBase &>::_Copy(void *) const' with [ _Ret=void, T=QNetworkReply * ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(813): note: see reference to class template instantiation 'std::_Func_impl_no_alloc,void,T>::create::,_Ret,const QFutureInterfaceBase &>' being compiled with [ T=QNetworkReply *, _Ret=void ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(1010): note: see reference to variable template 'const bool _Is_large,void,QFutureInterfaceBase const &> >' being compiled C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(1143): note: see reference to function template instantiation 'void std::_Func_class<_Ret,const QFutureInterfaceBase &>::_Reset,void,T>::create::>(_Fx &&)' being compiled with [ _Ret=void, T=QNetworkReply *, _Fx=QtPrivate::Continuation,void,QNetworkReply *>::create:: ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(1143): note: see reference to function template instantiation 'void std::_Func_class<_Ret,const QFutureInterfaceBase &>::_Reset,void,T>::create::>(_Fx &&)' being compiled with [ _Ret=void, T=QNetworkReply *, _Fx=QtPrivate::Continuation,void,QNetworkReply *>::create:: ] C:\Qt\6.2.1\msvc2019_64\include\QtCore/qfuture_impl.h(501): note: see reference to function template instantiation 'std::function::function,void,T>::create::,0>(_Fx)' being compiled with [ T=QNetworkReply *, _Fx=QtPrivate::Continuation,void,QNetworkReply *>::create:: ] C:\Qt\6.2.1\msvc2019_64\include\QtCore/qfuture_impl.h(501): note: see reference to function template instantiation 'std::function::function,void,T>::create::,0>(_Fx)' being compiled with [ T=QNetworkReply *, _Fx=QtPrivate::Continuation,void,QNetworkReply *>::create:: ] C:\Qt\6.2.1\msvc2019_64\include\QtCore/qfuture.h(359): note: see reference to function template instantiation 'void QtPrivate::Continuation,void,T>::create<_Ty>(F &&,QFuture *,QFutureInterface &,QtFuture::Launch)' being compiled with [ T=QNetworkReply *, _Ty=test::, F=test:: ] C:\Qt\6.2.1\msvc2019_64\include\QtCore/qfuture.h(358): note: see reference to function template instantiation 'void QtPrivate::Continuation,void,T>::create<_Ty>(F &&,QFuture *,QFutureInterface &,QtFuture::Launch)' being compiled with [ T=QNetworkReply *, _Ty=test::, F=test:: ] C:\Qt\6.2.1\msvc2019_64\include\QtCore/qfuture.h(349): note: see reference to function template instantiation 'QFuture QFuture::then<_Ty>(QtFuture::Launch,Function &&)' being compiled with [ _Ty=test::, Function=test:: ] C:\Qt\6.2.1\msvc2019_64\include\QtCore/qfuture.h(349): note: see reference to function template instantiation 'QFuture QFuture::then<_Ty>(QtFuture::Launch,Function &&)' being compiled with [ _Ty=test::, Function=test:: ] C:\qtbug\main.cpp(27): note: see reference to function template instantiation 'QFuture QFuture::then>(Function &&)' being compiled with [ Function=test:: ] C:\qtbug\main.cpp(27): note: see reference to function template instantiation 'QFuture QFuture::then>(Function &&)' being compiled with [ Function=test:: ] ninja: build stopped: subcommand failed. 12:48:39: The process "C:\Qt\Tools\CMake_64\bin\cmake.exe" exited with code 1. Error while building/deploying project qtbug (kit: Desktop Qt 6.2.1 MSVC2019 64bit) When executing step "Build" 12:48:39: Elapsed time: 00:03.