aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlmin
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2013-09-13 14:49:48 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-21 09:31:26 +0200
commit0fc040ef70513ccaeb9e96f7ca05a3df4d6c7879 (patch)
tree15df50f1637f5a717cd111232948750127589085 /tools/qmlmin
parent41f75250d5b391dd99a84712fa68f606ef5c06b9 (diff)
Fix build logic for host_build tools.
Link against bootstrap-private instead QtCore when cross-compiling. Change-Id: I7aeb9d693b0dd041aea72b6b3dcb8614a9a92b89 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tools/qmlmin')
-rw-r--r--tools/qmlmin/qmlmin.pro10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/qmlmin/qmlmin.pro b/tools/qmlmin/qmlmin.pro
index 2cbf196863..0b5ef2baee 100644
--- a/tools/qmlmin/qmlmin.pro
+++ b/tools/qmlmin/qmlmin.pro
@@ -1,5 +1,13 @@
option(host_build)
-QT = core qmldevtools-private
+
+force_bootstrap {
+ QT = bootstrap-private
+} else {
+ QT = core
+}
+
+QT += qmldevtools-private
+
SOURCES += main.cpp
load(qt_tool)