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