diff options
author | Dominik Holland <dominik.holland@qt.io> | 2019-10-14 15:33:07 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2019-10-14 15:38:32 +0200 |
commit | 5df2a2943d280832af05f1d3e9c30976470a6e6a (patch) | |
tree | cd76d20e8934313e6295e16aa10c179f149918d7 | |
parent | cdd85fed405a48cf12467d23a1f2e0125ffc0209 (diff) |
Fix building against Qt6
Use the versionAtLeast() function in qmake instead of a manual version
comparison.
Change-Id: I768fb0495b1480616f2f371488ca2547c7e8ab55
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
-rw-r--r-- | qtivi.pro | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |