summaryrefslogtreecommitdiff
path: root/src/organizer.pro
diff options
context:
space:
mode:
authorTheBloke <devnull@localhost>2014-07-07 21:51:35 +0100
committerTheBloke <devnull@localhost>2014-07-07 21:51:35 +0100
commita49ed5c33c01d4964523eafb790284fcebc0563d (patch)
tree57f65ea6a2b01927428e663f1da7991bdec8bdcb /src/organizer.pro
parent62b0c07a93bbf244dbf8ae4bc73f008cfa1fc84d (diff)
organizer.pro - tiny tweak to Qt5 version check
Directly checking QT_MAJOR_VERSION instead of pattern matching on QT_VERSION
Diffstat (limited to 'src/organizer.pro')
-rw-r--r--src/organizer.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizer.pro b/src/organizer.pro
index de0f70af..bed1ca47 100644
--- a/src/organizer.pro
+++ b/src/organizer.pro
@@ -5,7 +5,7 @@
#-------------------------------------------------
-contains(QT_VERSION, "^5.*") {
+equals(QT_MAJOR_VERSION, 5) {
QT += core gui widgets network xml sql xmlpatterns qml quick script webkit
} else {
QT += core gui network xml declarative script sql xmlpatterns webkit