File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ CheckOptions:
7575 # caused by Qt generated moc code - see https://bugreports.qt.io/browse/QTBUG-100915
7676 target_compile_options_safe (cppcheck-gui -Wno-redundant-parens )
7777 endif ()
78- if (QT_VERSION VERSION_EQUAL "6.9.0" )
79- # caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
78+ if (QT_VERSION VERSION_GREATER_EQUAL "6.9.0" )
79+ # caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
8080 target_compile_options_safe (cppcheck-gui -Wno-ctad-maybe-unsupported )
8181 endif ()
8282 endif ()
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1717 # Q_UNUSED() in generated code - see https://bugreports.qt.io/browse/QTBUG-82978
1818 target_compile_options_safe (test -cppchecklibrarydata -Wno-extra-semi-stmt )
1919 endif ()
20- if (QT_VERSION VERSION_EQUAL "6.9.0" )
21- # caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
20+ if (QT_VERSION VERSION_GREATER_EQUAL "6.9.0" )
21+ # caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
2222 target_compile_options_safe (test -cppchecklibrarydata -Wno-ctad-maybe-unsupported )
2323 endif ()
2424endif ()
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
2020 # Q_UNUSED() in generated code - see https://bugreports.qt.io/browse/QTBUG-82978
2121 target_compile_options_safe (test -filelist -Wno-extra-semi-stmt )
2222 endif ()
23- if (QT_VERSION VERSION_EQUAL "6.9.0" )
24- # caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
23+ if (QT_VERSION VERSION_GREATER_EQUAL "6.9.0" )
24+ # caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
2525 target_compile_options_safe (test -filelist -Wno-ctad-maybe-unsupported )
2626 endif ()
2727endif ()
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1515 # Q_UNUSED() in generated code - see https://bugreports.qt.io/browse/QTBUG-82978
1616 target_compile_options_safe (test -projectfile -Wno-extra-semi-stmt )
1717 endif ()
18- if (QT_VERSION VERSION_EQUAL "6.9.0" )
19- # caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
18+ if (QT_VERSION VERSION_GREATER_EQUAL "6.9.0" )
19+ # caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
2020 target_compile_options_safe (test -projectfile -Wno-ctad-maybe-unsupported )
2121 endif ()
2222endif ()
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
4343 # Q_UNUSED() in generated code - see https://bugreports.qt.io/browse/QTBUG-82978
4444 target_compile_options_safe (test -resultstree -Wno-extra-semi-stmt )
4545 endif ()
46- if (QT_VERSION VERSION_EQUAL "6.9.0" )
47- # caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
46+ if (QT_VERSION VERSION_GREATER_EQUAL "6.9.0" )
47+ # caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
4848 target_compile_options_safe (test -resultstree -Wno-ctad-maybe-unsupported )
4949 endif ()
5050 # caused by mocks
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1515 # Q_UNUSED() in generated code - see https://bugreports.qt.io/browse/QTBUG-82978
1616 target_compile_options_safe (test -translationhandler -Wno-extra-semi-stmt )
1717 endif ()
18- if (QT_VERSION VERSION_EQUAL "6.9.0" )
19- # caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
18+ if (QT_VERSION VERSION_GREATER_EQUAL "6.9.0" )
19+ # caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
2020 target_compile_options_safe (test -translationhandler -Wno-ctad-maybe-unsupported )
2121 endif ()
2222endif ()
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
3333 # Q_UNUSED() in generated code - see https://bugreports.qt.io/browse/QTBUG-82978
3434 target_compile_options_safe (test -xmlreportv2 -Wno-extra-semi-stmt )
3535 endif ()
36- if (QT_VERSION VERSION_EQUAL "6.9.0" )
37- # caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
36+ if (QT_VERSION VERSION_GREATER_EQUAL "6.9.0" )
37+ # caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
3838 target_compile_options_safe (test -xmlreportv2 -Wno-ctad-maybe-unsupported )
3939 endif ()
4040endif ()
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ CheckOptions:
3939 # QBrush fails to compile before 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-134038
4040 target_compile_definitions (triage PRIVATE -DQT_NO_QPAIR )
4141 endif ()
42- if (QT_VERSION VERSION_EQUAL "6.9.0" )
43- # caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
42+ if (QT_VERSION VERSION_GREATER_EQUAL "6.9.0" )
43+ # caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
4444 target_compile_options_safe (triage -Wno-ctad-maybe-unsupported )
4545 endif ()
4646 target_compile_definitions (triage PRIVATE -DQT_NO_FOREACH )
You can’t perform that action at this time.
0 commit comments