summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-12-13 20:26:18 (GMT)
committerMark Brand <mabrand@mabrand.nl>2012-12-13 21:18:16 (GMT)
commit4c47a0394f561a1383f0049a21c832f69c91bf18 (patch)
treeb55a833933efcccd7c17f29fa52726bdef3ed89e
parentdad275265a77d828683b7e2fb3883c576f0e2271 (diff)
downloadmxe-4c47a0394f561a1383f0049a21c832f69c91bf18.zip
mxe-4c47a0394f561a1383f0049a21c832f69c91bf18.tar.gz
mxe-4c47a0394f561a1383f0049a21c832f69c91bf18.tar.bz2
package qt: make test program qt5 compatible
-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