diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-05-06 09:34:36 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-05-06 14:00:33 +0300 |
commit | d3f1d9a3fd907408fa2f02aee42fa8abd06bd223 (patch) | |
tree | cf36d8d817d112bdf717ad7c71f4213779350024 | |
parent | fcf8484eb2e827936b93479fa8d773a66c574759 (diff) | |
download | qt-creator-d3f1d9a3fd907408fa2f02aee42fa8abd06bd223.tar.gz |
Fix creating auto test without gui
Change-Id: Id1d0b686eda09f6fb513374c9b5337ffdd83b82a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
-rw-r--r-- | shared/autotest/src.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/autotest/src.pro b/shared/autotest/src.pro index 26f9b3a152..61fbe2a5bc 100644 --- a/shared/autotest/src.pro +++ b/shared/autotest/src.pro @@ -1,7 +1,9 @@ @if "%RequireGUI%" == "true" -QT += gui widgets +QT += core gui +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets @else -QT += console +QT -= gui +CONFIG += console CONFIG -= app_bundle @endif |