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