[Interest] unrecognised command line option -std=c++11 error for Qt 5.12.7 sources
rama.kesi at gmail.com
Tue Feb 18 17:19:07 CET 2020
Thanks for your mail.
It works fine after upgrading the compiler to gcc 4.8+
On Tue, Feb 18, 2020 at 8:45 PM Kai Köhne <Kai.Koehne at qt.io> wrote:
> > 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
> 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 ...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest