[Interest] CONFIG c++2a vs. QMAKE_CXXFLAGS += -std=c++2a

Bernhard Lindner private at bernhard-lindner.de
Wed May 6 01:26:55 CEST 2020


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.

-- 
Best Regards,
Bernhard Lindner



More information about the Interest mailing list