diff --git a/src/qt-test.pro b/src/qt-test.pro index 7e2829f3..3b420a87 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