1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Check the Qt version. If QT_VERSION is not set, it is probably Qt 3.
isEmpty(QT_VERSION) {
error("QT_VERSION not defined. Tiled does not work with Qt 3.")
}
include(tiled.pri)
!minQtVersion(5, 4, 0) {
message("Cannot build Tiled with Qt version $${QT_VERSION}")
error("Use at least Qt 5.4.0.")
}
win* {
message("Building Tiled for Windows using qmake is no longer supported")
error("Use the tiled.qbs project file instead")
}
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = src translations
|