forked from qt-creator/qt-creator
Fix creating auto test without gui
Change-Id: Id1d0b686eda09f6fb513374c9b5337ffdd83b82a Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
@if "%RequireGUI%" == "true"
|
@if "%RequireGUI%" == "true"
|
||||||
QT += gui widgets
|
QT += core gui
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
@else
|
@else
|
||||||
QT += console
|
QT -= gui
|
||||||
|
CONFIG += console
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user