summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--customcontext/customcontext.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/customcontext/customcontext.pro b/customcontext/customcontext.pro
index 2cda8e5..7b88fe1 100644
--- a/customcontext/customcontext.pro
+++ b/customcontext/customcontext.pro
@@ -3,7 +3,7 @@ TARGET=customcontext
CONFIG += plugin
-contains(QT_VERSION, ^5\\.[2-9]\\..*) {
+equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 1) {
message("Using Qt 5.2 or later")
CONFIG += customcontext_qt520
}