[Interest] Build Qt Source (mac): 'make' immediately hits an error ?
David M. Cotter
dave at kjams.com
Mon Jun 28 15:54:35 CEST 2021
yes, the compiler (xcode) i was using was too old. i updated xcode to a later version and it works.
sorry, i should have posted that i had a solution earlier!
-dave
> On Jun 27, 2021, at 11:04 PM, David Skoland <david.skoland at qt.io> wrote:
>
> Hi,
>
> 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?
>
> Cheers,
>
> David Skoland
>
>> 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
>>> found
>>> #include <variant>
>>> ^~~~~~~~~
>>> 1 error generated.
>>> make[2]: *** [qtbase/src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/global/qendian.cpp.o] Error 1
>>> make[1]: *** [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?
>> -dave
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210628/2f5567e6/attachment.html>
More information about the Interest
mailing list