diff options
Diffstat (limited to 'mkspecs/features/qt_tool.prf')
-rw-r--r-- | mkspecs/features/qt_tool.prf | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf index 27753f26dd..bae6138067 100644 --- a/mkspecs/features/qt_tool.prf +++ b/mkspecs/features/qt_tool.prf @@ -6,11 +6,18 @@ DESTDIR = $$MODULE_BASE_OUTDIR/bin CONFIG += qt warn_on console isEmpty(QMAKE_INFO_PLIST): CONFIG -= app_bundle -!build_pass:contains(QT_CONFIG, build_all): CONFIG += release - -target.path = $$[QT_INSTALL_BINS] +host_build { + CONFIG += release + QT = bootstrap-private + target.path = $$[QT_HOST_BINS] +} else { + !build_pass:contains(QT_CONFIG, build_all): CONFIG += release + target.path = $$[QT_INSTALL_BINS] +} INSTALLS += target +load(qt_targets) + # If we are doing a prefix build, create a "module" pri which enables # qtPrepareTool() to work with the non-installed build. !build_pass:!exists($$[QT_INSTALL_PREFIX]/.qmake.cache) { |