2013-04-26 12:15:34 +00:00
|
|
|
#
|
|
|
|
# W A R N I N G
|
|
|
|
# -------------
|
|
|
|
#
|
|
|
|
# This file is not part of the Qt API. It exists purely as an
|
|
|
|
# implementation detail. It may change from version to version
|
|
|
|
# without notice, or even be removed.
|
|
|
|
#
|
|
|
|
# We mean it.
|
|
|
|
#
|
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
load(qt_build_paths)
|
|
|
|
DESTDIR = $$MODULE_BASE_OUTDIR/bin
|
|
|
|
|
|
|
|
isEmpty(QMAKE_INFO_PLIST): CONFIG -= app_bundle
|
|
|
|
|
2014-05-06 18:27:06 +00:00
|
|
|
# This decreases the binary size for tools if statically linked
|
|
|
|
QMAKE_LFLAGS += $$QMAKE_LFLAGS_GCSECTIONS
|
|
|
|
|
2013-04-26 12:15:34 +00:00
|
|
|
host_build: QT -= gui # no host tool will ever use gui
|
|
|
|
host_build:force_bootstrap {
|
2015-10-26 11:38:50 +00:00
|
|
|
!build_pass:contains(QT_CONFIG, release_tools): CONFIG += release
|
2013-04-26 12:15:34 +00:00
|
|
|
contains(QT, core(-private)?|xml) {
|
|
|
|
QT -= core core-private xml
|
|
|
|
QT += bootstrap-private
|
|
|
|
}
|
|
|
|
target.path = $$[QT_HOST_BINS]
|
|
|
|
} else {
|
2016-05-11 15:53:58 +00:00
|
|
|
!build_pass:contains(QT_CONFIG, debug_and_release): CONFIG += release
|
2013-04-26 12:15:34 +00:00
|
|
|
target.path = $$[QT_INSTALL_BINS]
|
2015-06-05 15:45:47 +00:00
|
|
|
CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
|
2013-04-26 12:15:34 +00:00
|
|
|
}
|
|
|
|
INSTALLS += target
|
|
|
|
|
|
|
|
load(qt_targets)
|
|
|
|
load(qt_common)
|