QmlProfiler: Build only if Qt Quick (version 1) is there

The QmlProfiler depends on QML.

Change-Id: Iee2ed66540ed2aee7d667850852b5ea7815a17fa
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Kai Koehne
2012-08-29 11:43:34 +02:00
parent 33f8a42503
commit 8ceff27cc6

View File

@@ -40,7 +40,6 @@ SUBDIRS = plugin_coreplugin \
plugin_qmljstools \
plugin_macros \
debugger/dumper.pro \
plugin_qmlprofiler \
plugin_remotelinux \
plugin_android \
plugin_madde \
@@ -63,7 +62,8 @@ include(../../qtcreator.pri)
contains(QT_CONFIG, declarative)|contains(QT_CONFIG, quick1) {
SUBDIRS += \
plugin_qmlprojectmanager
plugin_qmlprojectmanager \
plugin_qmlprofiler
include(../private_headers.pri)
exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) {