aboutsummaryrefslogtreecommitdiffstats
path: root/qtcreator.pro
diff options
context:
space:
mode:
authordt <qtc-commiter@nokia.com>2008-12-18 16:19:50 +0100
committerdt <qtc-commiter@nokia.com>2008-12-18 16:19:50 +0100
commitf9a917eb2a0002cdba84964f481930992fdc518d (patch)
tree8bf291106214cde16915bcb6c2331a491d825618 /qtcreator.pro
parent3564c529d078584d7b5d0a30665d7ace7d012c71 (diff)
Fixes: Move qt version check to qtcreator.pro
RevBy: con
Diffstat (limited to 'qtcreator.pro')
-rw-r--r--qtcreator.pro8
1 files changed, 8 insertions, 0 deletions
diff --git a/qtcreator.pro b/qtcreator.pro
index 13f0b26fa3..6c5d876731 100644
--- a/qtcreator.pro
+++ b/qtcreator.pro
@@ -1,3 +1,11 @@
+#version check qt
+TOO_OLD_LIST=$$find(QT_VERSION, ^4\.[0-4])
+count(TOO_OLD_LIST, 1) {
+ message("Cannot build the Qt Creator with a Qt version that old:" $$QT_VERSION)
+ error("Use at least Qt 4.5.")
+}
+
+
TEMPLATE = subdirs
CONFIG += ordered