+include(qtcreator.pri)
+
#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.")
+!minQtVersion(4, 7, 4) {
+ message("Cannot build Qt Creator with Qt version $${QT_VERSION}.")
+ error("Use at least Qt 4.7.4.")
}
include(doc/doc.pri)
TEMPLATE = subdirs
CONFIG += ordered
-SUBDIRS = src
-
-# for Qt Creator translations
-QTC_BUILD_ROOT = $$PWD
-QTC_INSTALL_TRANSLATIONS = $$PWD/translations
+SUBDIRS = src share lib/qtcreator/qtcomponents
+unix:!macx:!isEmpty(copydata):SUBDIRS += bin
-include(translations/translations.pri)
-translations.path = $$QTC_INSTALL_TRANSLATIONS
-translations.files = $$QTC_INSTALL_TRANSLATIONS/*.qm
+OTHER_FILES += dist/copyright_template.txt \
+ dist/changes-1.1.0 \
+ dist/changes-1.1.1 \
+ dist/changes-1.2.0 \
+ dist/changes-1.2.1 \
+ dist/changes-1.3.0 \
+ dist/changes-1.3.1 \
+ dist/changes-2.0.0 \
+ dist/changes-2.0.1 \
+ dist/changes-2.1.0 \
+ dist/changes-2.2.0 \
+ dist/changes-2.3.0 \
+ dist/changes-2.3.1 \
+ dist/changes-2.4.0