2012-03-12 16:51:41 +01:00
|
|
|
TEMPLATE = subdirs
|
2014-06-24 11:58:59 +02:00
|
|
|
SUBDIRS += src tools
|
2015-06-10 11:49:10 +02:00
|
|
|
tools.depends = src
|
2011-02-21 16:30:31 +01:00
|
|
|
|
2017-08-21 15:12:52 +03:00
|
|
|
requires(!cross_compile)
|
|
|
|
|
2013-02-13 11:00:08 +01:00
|
|
|
include (installerfw.pri)
|
2012-01-23 12:53:59 +01:00
|
|
|
include (doc/doc.pri)
|
2014-06-03 13:30:35 +02:00
|
|
|
|
2014-06-24 11:58:59 +02:00
|
|
|
BUILD_TESTS = $$(BUILDTESTS)
|
|
|
|
isEmpty(BUILD_TESTS):BUILD_TESTS=$${BUILDTESTS}
|
2015-06-10 11:49:10 +02:00
|
|
|
!isEmpty(BUILD_TESTS) {
|
|
|
|
SUBDIRS += tests
|
|
|
|
tests.depends = src
|
|
|
|
}
|
2014-06-24 11:58:59 +02:00
|
|
|
|
2014-09-03 14:49:40 +02:00
|
|
|
BUILD_EXAMPLES = $$(BUILDEXAMPLES)
|
|
|
|
isEmpty(BUILD_EXAMPLES):BUILD_EXAMPLES=$${BUILDEXAMPLES}
|
2015-06-10 11:49:10 +02:00
|
|
|
!isEmpty(BUILD_EXAMPLES) {
|
|
|
|
SUBDIRS += examples
|
|
|
|
examples.depends = src
|
|
|
|
}
|
2014-09-03 14:49:40 +02:00
|
|
|
|
2018-11-01 11:27:55 +02:00
|
|
|
!minQtVersion(5, 9, 5) {
|
2014-06-03 13:30:35 +02:00
|
|
|
message("Cannot build Qt Installer Framework with Qt version $${QT_VERSION}.")
|
2018-11-01 11:27:55 +02:00
|
|
|
error("Use at least Qt 5.9.5.")
|
2014-06-03 13:30:35 +02:00
|
|
|
}
|