]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/app/app.pro
ifdef qt4 and qt5
[toast/confclerk.git] / src / app / app.pro
index 80baf93608a7c6f9775d75816f9eabf8eeb0186b..37f4f487137270c25e592a85d9e8118030690a99 100644 (file)
@@ -2,7 +2,8 @@ include(../global.pri)
 TEMPLATE = app
 TARGET = confclerk
 DESTDIR = ../bin
-QT += sql xml network widgets
+QT += sql xml network
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 CONFIG(maemo5) {
     QT += maemo5
 }