Fixes: Move qt version check to qtcreator.pro

RevBy:    con
This commit is contained in:
dt
2008-12-18 16:19:50 +01:00
parent 3564c529d0
commit f9a917eb2a
2 changed files with 8 additions and 5 deletions

View File

@@ -6,11 +6,6 @@ include(../../../shared/designerintegrationv2/designerintegration.pri)
include(cpp/cpp.pri)
include(designer_dependencies.pri)
# -- check the Qt version
TOO_OLD_LIST=$$find(QT_VERSION, ^4\.[0-4])
count(TOO_OLD_LIST, 1) {
error("Cannot build the designer plugin with a Qt version that old:" $$QT_VERSION)
}
# -- figure out shared dir location
!exists($$[QT_INSTALL_HEADERS]/QtDesigner/private/qdesigner_integration_p.h) {
QT_SOURCE_TREE=$$fromfile($$(QTDIR)/.qmake.cache,QT_SOURCE_TREE)