aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/autotest/src.pro
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/templates/wizards/autotest/src.pro')
-rw-r--r--share/qtcreator/templates/wizards/autotest/src.pro13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/autotest/src.pro b/share/qtcreator/templates/wizards/autotest/src.pro
new file mode 100644
index 0000000000..61fbe2a5bc
--- /dev/null
+++ b/share/qtcreator/templates/wizards/autotest/src.pro
@@ -0,0 +1,13 @@
+@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%