forked from qt-creator/qt-creator
Fixes: Move qt version check to qtcreator.pro
RevBy: con
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user