From 0fc040ef70513ccaeb9e96f7ca05a3df4d6c7879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Fri, 13 Sep 2013 14:49:48 +0200 Subject: Fix build logic for host_build tools. Link against bootstrap-private instead QtCore when cross-compiling. Change-Id: I7aeb9d693b0dd041aea72b6b3dcb8614a9a92b89 Reviewed-by: Simon Hausmann --- tools/qmlmin/qmlmin.pro | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tools/qmlmin') 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) -- cgit v1.2.3