Skip to content

Commit ca1d493

Browse files
committed
fix: c++17 case.
1 parent 3bebcb6 commit ca1d493

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/fix_std_cxx_17.pri

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
## Reference: https://stackoverflow.com/questions/46610996/cant-use-c17-features-using-g-7-2-in-qtcreator
55

66

7-
lessThan($$QT_MAJOR_VERSION, 5)
7+
lessThan(QT_MAJOR_VERSION, 5)
88
{
99
QMAKE_CXXFLAGS += -std=c++17
1010
}
1111

12-
isEqual($$QT_MINOR_VERSION, 5) | lessThan($$QT_MINOR_VERSION, 12)
12+
isEqual(QT_MINOR_VERSION, 5) | lessThan(QT_MINOR_VERSION, 12)
1313
{
1414
QMAKE_CXXFLAGS += -std=c++17
1515
}

0 commit comments

Comments
 (0)