diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2016-08-10 11:55:14 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2016-08-10 11:43:17 +0000 |
commit | 2b3db9ff9ae1eaf3ea4b9363b9bfa214e2790112 (patch) | |
tree | 9a641aadf4b72bd54de6d0b9f4a28ebe33558119 /qtivi.pro | |
parent | ccc1f3af652e4f2785d9ac60eeae521130740b1a (diff) |
Make sure the compile the climate_widget example with c++11
Also added a check for a minimum Qt version
Task-number: AUTOSUITE-2
Change-Id: Ida94ffa50bf0094ed81631c0ba0c2aaa342f7648
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'qtivi.pro')
-rw-r--r-- | qtivi.pro | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,9 @@ enable-tests { QML_IMPORT_PATH = $$shadowed($$PWD)/qml -lessThan(QT_MAJOR_VERSION, 5): error("QtIvi only supports Qt 5.") +MIN_MINOR = 5 +!equals(QT_MAJOR_VERSION, 5)|lessThan(QT_MINOR_VERSION, $$MIN_MINOR):error("QtIvi needs to be built against Qt 5.$${MIN_MINOR}+") + load(configure) qtCompileTest(dlt) load(qt_parts) |