Files
qt-creator/shared/autotest/src.pro
Christian Stenger d3f1d9a3fd Fix creating auto test without gui
Change-Id: Id1d0b686eda09f6fb513374c9b5337ffdd83b82a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-06 14:00:33 +03:00

14 lines
228 B
Prolog

@if "%RequireGUI%" == "true"
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
@else
QT -= gui
CONFIG += console
CONFIG -= app_bundle
@endif
TEMPLATE = app
TARGET = %ProjectName%
SOURCES += main.%CppSourceSuffix%