From 5820b9521e6a227325e04eb455f424584ac71343 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 29 Jul 2020 09:36:27 +0100 Subject: [PATCH] Make sure the version check is compatible with older versions of Qt --- runtime/pgAdmin4.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/pgAdmin4.pro b/runtime/pgAdmin4.pro index db7fa5f71..af332d8d6 100644 --- a/runtime/pgAdmin4.pro +++ b/runtime/pgAdmin4.pro @@ -9,7 +9,7 @@ message(Configuring the pgAdmin 4 runtime.) message(==================================) # Check for a suitable Qt version -!versionAtLeast(QT_VERSION, 5.0.0) { +!greaterThan(QT_MAJOR_VERSION, 4) { error("pgAdmin 4 cannot be built with Qt $${QT_VERSION}. Use Qt 5.0 or newer.") } message(Qt version: $${QT_VERSION})