diff options
-rw-r--r-- | config.tests/compiletest/compiletest.pro | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config.tests/compiletest/compiletest.pro b/config.tests/compiletest/compiletest.pro index b4d29a1..66f8581 100644 --- a/config.tests/compiletest/compiletest.pro +++ b/config.tests/compiletest/compiletest.pro @@ -1,8 +1,5 @@ -gcc { - versionAtLeast(QT_GCC_MAJOR_VERSION, 5) \ - SOURCES += main.cpp - else: \ - SOURCES += main_less_5.cpp + gcc:!clang:lessThan(QT_GCC_MAJOR_VERSION, 5) { + SOURCES += main_less_5.cpp } else { SOURCES += main.cpp } |