> Betreff: [Interest] unrecognised command line option -std=c++11 error for Qt 
> 5.12.7 sources
>
> Hi,
>
> Am getting the below error while trying to build latest Qt 5.12.7 sources on 
> ubuntu desktop.
>
> Unrecognised command line option std=c++11.
> 
> GCC version on desktop is gcc 4.6.3.

I suggest you consider upgrading your compiler. 
https://doc.qt.io/qt-5.12/linux.html says the oldest supported gcc version is 
4.8.

> Can we set -std=c++Ox in the configure line to compile the Qt5.12.7 sources?
        
You can adapt QMAKE_CXXFLAGS_CXX11 in mkspecs/g++base.conf.

Anyhow, there's a good chance that you will soon hit the next compiler error 
then ...


Kai
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to