summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qt-test.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qt-test.pro b/src/qt-test.pro
index 7e2829f..3b420a8 100644
--- a/src/qt-test.pro
+++ b/src/qt-test.pro
@@ -1,7 +1,9 @@
# This file is part of MXE.
# See index.html for further information.
-
-TARGET = test-qt
+TEMPLATE = app
+greaterThan(QT_MAJOR_VERSION, 4): TARGET = test-qt5
+else: TARGET = test-qt
QT += network sql
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES += qt-test.cpp
FORMS += qt-test.ui