From 670556134d119756cfc0d48a520b9bcbb2d155af Mon Sep 17 00:00:00 2001 From: Brett Stottlemyer Date: Thu, 14 Jun 2018 20:02:28 -0400 Subject: Update to support builds with Qt 5.10+ The pattern used for version matching breaks with two digit minor releases. Change-Id: I08b70fcccbff5ee7d47bc2752b01552447bd8468 Reviewed-by: Michael Brasser --- customcontext/customcontext.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3