diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2019-08-20 10:59:57 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2019-08-20 11:01:38 +0200 |
commit | ee2f01020005b1baa63de918be1dc75ae581f7b1 (patch) | |
tree | f8797fddd5c2fcc8c245068bb72f8753ba1591df | |
parent | 29d53975d559c9d2acce78167bacbe384e2d825a (diff) |
The former commit disabled also some supported platforms running
clang, this commit should fix the version check.
Change-Id: I9fd61a322895ca867a4483b5f7aa2763637d972b
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
-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 } |