package qt: make test program qt5 compatible

This commit is contained in:
Mark Brand 2012-12-13 21:26:18 +01:00
parent dad275265a
commit 4c47a0394f
1 changed files with 4 additions and 2 deletions

View File

@ -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