summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Stottlemyer <bstottle@ford.com>2018-06-14 20:02:28 -0400
committerBrett Stottlemyer <bstottle@ford.com>2018-06-16 11:10:25 +0000
commit670556134d119756cfc0d48a520b9bcbb2d155af (patch)
treea9589212012296c03653c24bf37771d59cd042a0
parent372cbff7909ecb0e9937373ce4266f77018ce075 (diff)
Update to support builds with Qt 5.10+HEADmaster
The pattern used for version matching breaks with two digit minor releases. Change-Id: I08b70fcccbff5ee7d47bc2752b01552447bd8468 Reviewed-by: Michael Brasser <michael.brasser@live.com>
-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
}