aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qtivi.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/qtivi.pro b/qtivi.pro
index 417dfbd..e746236 100644
--- a/qtivi.pro
+++ b/qtivi.pro
@@ -15,8 +15,7 @@ enable-tests {
QML_IMPORT_PATH = $$shadowed($$PWD)/qml
-MIN_MINOR = 12 # b/c we need the new Qt configuration system
-!equals(QT_MAJOR_VERSION, 5)|lessThan(QT_MINOR_VERSION, $$MIN_MINOR):error("QtIvi needs to be built against Qt 5.$${MIN_MINOR}+")
+!versionAtLeast(QT_VERSION, 5.12.0): error("QtIvi needs to be built against Qt 5.$${MIN_MINOR}+")
load(qt_parts)