[Interest] Build Qt Source (mac): 'make' immediately hits an error ?
david.skoland at qt.io
Mon Jun 28 08:04:06 CEST 2021
It looks like the source is expecting C++17, but that wasn’t included in the compiler flags, I’m guessing.
Which version of Qt5 is this? May I also ask why you want to compile from git?
On 27 Jun 2021, at 02:58, David M. Cotter <dave at kjams.com<mailto:dave at kjams.com>> wrote:
got all the way through "build from git" instructions, to the point where i execute "make", but immediately got this error:
luna:clang_64 davec$ make
Scanning dependencies of target Bootstrap
[ 0%] Building CXX object qtbase/src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/global/qendian.cpp.o
In file included from /Volumes/Developer/depot/Qt5_Source/Src/qtbase/src/corelib/global/qendian.cpp:41:
In file included from /Volumes/Developer/depot/Qt5_Source/Src/qtbase/src/corelib/global/qendian.h:44:
In file included from /Volumes/Developer/depot/Qt5_Source/clang_64/qtbase/include/QtCore/qfloat16.h:1:
In file included from /Volumes/Developer/depot/Qt5_Source/clang_64/qtbase/include/QtCore/../../../../Src/qtbase/src/corelib/global/qfloat16.h:44:
In file included from /Volumes/Developer/depot/Qt5_Source/clang_64/qtbase/include/QtCore/qglobal.h:1:
In file included from /Volumes/Developer/depot/Qt5_Source/clang_64/qtbase/include/QtCore/../../../../Src/qtbase/src/corelib/global/qglobal.h:1417:
In file included from /Volumes/Developer/depot/Qt5_Source/clang_64/qtbase/include/QtCore/qtypeinfo.h:1:
/Volumes/Developer/depot/Qt5_Source/clang_64/qtbase/include/QtCore/../../../../Src/qtbase/src/corelib/global/qtypeinfo.h:43:10: fatal error: 'variant' file not
1 error generated.
make: *** [qtbase/src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/global/qendian.cpp.o] Error 1
make: *** [qtbase/src/tools/bootstrap/CMakeFiles/Bootstrap.dir/all] Error 2
make: *** [all] Error 2
anyone have any ideas?
anyone want to make a few bucks helping me?
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest