Re: [Interest] Build Qt Source (mac): 'make' immediately hits an error ?

2021-06-28 Thread David M. Cotter
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  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 > > 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 
>>>  ^
>>> 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@qt-project.org 
>> https://lists.qt-project.org/listinfo/interest
> 

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Build Qt Source (mac): 'make' immediately hits an error ?

2021-06-28 Thread David Skoland
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 
mailto:d...@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 
 ^
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@qt-project.org
https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Build Qt Source (mac): 'make' immediately hits an error ?

2021-06-26 Thread David M. Cotter
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 
>  ^
> 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@qt-project.org
https://lists.qt-project.org/listinfo/interest