diff options
Diffstat (limited to 'qtcreator.pro')
-rw-r--r-- | qtcreator.pro | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qtcreator.pro b/qtcreator.pro index 9a5e467eb6..bde9c816c7 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 |