From a49ed5c33c01d4964523eafb790284fcebc0563d Mon Sep 17 00:00:00 2001 From: TheBloke Date: Mon, 7 Jul 2014 21:51:35 +0100 Subject: organizer.pro - tiny tweak to Qt5 version check Directly checking QT_MAJOR_VERSION instead of pattern matching on QT_VERSION --- src/organizer.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.3.1