Fix creating auto test without gui

Change-Id: Id1d0b686eda09f6fb513374c9b5337ffdd83b82a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-05-06 09:34:36 +02:00
parent fcf8484eb2
commit d3f1d9a3fd

View File

@@ -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