Skip to content
Snippets Groups Projects
Commit f9a917eb authored by dt's avatar dt
Browse files

Fixes: Move qt version check to qtcreator.pro

RevBy:    con
parent 3564c529
No related branches found
No related tags found
No related merge requests found
#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
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment