On Tuesday, 5 May 2020 16:26:55 PDT Bernhard Lindner wrote: > Hi! > > Can somebody please explain the difference between the following QMAKE > project lines when building a GCC project: > > CONFIG += c++2a > > QMAKE_CXXFLAGS += -std=c++2a > > I expected both to have the same effect but there must be a difference since > the latter gives me compilation errors while the first does not.
The latter is equivalent to: CONFIG += c++2a strict_c++ -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest