Skip to content

Commit aa6a017

Browse files
committed
patch: switch force std documentation.
1 parent 567665f commit aa6a017

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

include/compiler_settings.pri

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
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
72
CONFIG += c++17
83

94
QMAKE_CXXFLAGS =

include/options/use_force_std.pri

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## can be used with Qt 5.12 and later.
2+
## For Qt 5.11 and earlier, it is not a recognized QMake flag and you have to get your hands a bit dirty.
3+
##
4+
## Reference: https://stackoverflow.com/questions/46610996/cant-use-c17-features-using-g-7-2-in-qtcreator
15

26
contains(USE_FORCE_STD_17, 1) {
37
QMAKE_CXXFLAGS += -std=c++17

0 commit comments

Comments
 (0)