Fix "unknown warning option" warning

This commit is contained in:
Mat Sutcliffe
2020-06-13 02:54:12 +01:00
parent 78987a678f
commit ca7ae8f622

View File

@@ -34,7 +34,7 @@ else {
# gcc 5 can warn about missing override keyword,
# gcc 6 can do it without thousands of warnings in qt headers
gcc {
gcc: !clang {
GCC_VERSION = $$system($$QMAKE_CXX -dumpversion)
GCC_MAJOR = $$section(GCC_VERSION, ., 0, 0)
greaterThan(GCC_MAJOR, 5) {