From 90ba088773f669b9c87a000ff781b7033679679f Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 22 Jan 2016 14:35:56 +0100 Subject: Don't build qmldebug or qmlprofiler on -no-qml-debug qmlprofiler depends on qmldebug and won't work with that version of Qt anyway. Change-Id: I86a180671b8d7c84e9ab05ff1cef4e6a5ea4f7f3 Reviewed-by: Simon Hausmann --- tools/tools.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/tools.pro') diff --git a/tools/tools.pro b/tools/tools.pro index b2e9e27066..6e25509216 100644 --- a/tools/tools.pro +++ b/tools/tools.pro @@ -9,8 +9,10 @@ qmlimportscanner.CONFIG = host_build !android|android_app { SUBDIRS += \ qml \ - qmlprofiler \ qmllint + + !contains(QT_CONFIG, no-qml-debug): SUBDIRS += qmlprofiler + qtHaveModule(quick) { !static: SUBDIRS += qmlscene qmlplugindump qtHaveModule(widgets): SUBDIRS += qmleasing -- cgit v1.2.3