We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 567665f commit aa6a017Copy full SHA for aa6a017
2 files changed
include/compiler_settings.pri
@@ -1,9 +1,4 @@
1
CONFIG += strict_c++
2
-
3
-## can be used with Qt 5.12 and later.
4
-## For Qt 5.11 and earlier, it is not a recognized QMake flag and you have to get your hands a bit dirty.
5
-##
6
-## Reference: https://stackoverflow.com/questions/46610996/cant-use-c17-features-using-g-7-2-in-qtcreator
7
CONFIG += c++17
8
9
QMAKE_CXXFLAGS =
include/options/use_force_std.pri
@@ -1,3 +1,7 @@
+## can be used with Qt 5.12 and later.
+## For Qt 5.11 and earlier, it is not a recognized QMake flag and you have to get your hands a bit dirty.
+##
+## Reference: https://stackoverflow.com/questions/46610996/cant-use-c17-features-using-g-7-2-in-qtcreator
contains(USE_FORCE_STD_17, 1) {
QMAKE_CXXFLAGS += -std=c++17
0 commit comments