make QT setup for bootstrapped tools more clever

instead of simply overwriting it, intelligently re-interpret it.

Change-Id: I5f7d8fff69ac8092653d7583da4c3884b9864b3a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2012-12-06 19:42:59 +01:00 committed by The Qt Project
parent ef7c25e848
commit 2796ceff50

View File

@ -19,7 +19,11 @@ isEmpty(QMAKE_INFO_PLIST): CONFIG -= app_bundle
host_build {
!build_pass: CONFIG += release
QT = bootstrap-private
QT -= gui # no host tool will ever use gui
contains(QT, core(-private)?|xml) {
QT -= core core-private xml
QT += bootstrap-private
}
target.path = $$[QT_HOST_BINS]
} else {
!build_pass:contains(QT_CONFIG, build_all): CONFIG += release