From 4c47a0394f561a1383f0049a21c832f69c91bf18 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 13 Dec 2012 21:26:18 +0100 Subject: package qt: make test program qt5 compatible --- src/qt-test.pro | 6 ++++-- 1 file 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 -- cgit v0.12