diff --git a/qtcreator.pro b/qtcreator.pro
index ec47b1d3d03dbca77fbe19247261b3b3296d284c..6739eb9e40f96f70f081d06a89252c3b910aaa0f 100644
--- a/qtcreator.pro
+++ b/qtcreator.pro
@@ -1,10 +1,11 @@
+include(qtcreator.pri)
+
 #version check qt
-contains(QT_VERSION, ^4\\.[0-6]\\..*) {
+!minQtVersion(4, 7, 4) {
     message("Cannot build Qt Creator with Qt version $${QT_VERSION}.")
-    error("Use at least Qt 4.7.")
+    error("Use at least Qt 4.7.4.")
 }
 
-include(qtcreator.pri)
 include(doc/doc.pri)
 
 TEMPLATE  = subdirs