summaryrefslogtreecommitdiff
path: root/share/qtcreator/templates/wizards/autotest/tst.pro
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/templates/wizards/autotest/tst.pro')
-rw-r--r--share/qtcreator/templates/wizards/autotest/tst.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/autotest/tst.pro b/share/qtcreator/templates/wizards/autotest/tst.pro
new file mode 100644
index 0000000000..8aa61b767e
--- /dev/null
+++ b/share/qtcreator/templates/wizards/autotest/tst.pro
@@ -0,0 +1,14 @@
+QT += testlib
+@if "%RequireGUI%" == "false"
+QT -= gui
+
+CONFIG += qt console warn_on depend_includepath testcase
+CONFIG -= app_bundle
+@else
+QT += gui
+CONFIG += qt warn_on depend_includepath testcase
+@endif
+
+TEMPLATE = app
+
+SOURCES += tst_%TestCaseName:l%.%CppSourceSuffix%