PerfProfiler: Disable when there is no QtQuick

Display depends on libTracing, which depends on QtQuick.

Change-Id: I5b334a6d846d53e49c19bd9fd1a6d6d24f750f49
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
hjk
2019-03-14 04:20:51 +01:00
parent d2154e6c40
commit ec1c77fc8a

View File

@@ -59,7 +59,6 @@ SUBDIRS = \
languageclient \
cppcheck \
compilationdatabaseprojectmanager \
perfprofiler \
qmlpreview
qtHaveModule(serialport) {
@@ -69,9 +68,9 @@ qtHaveModule(serialport) {
}
qtHaveModule(quick) {
SUBDIRS += qmlprofiler
SUBDIRS += qmlprofiler perfprofiler
} else {
warning("QmlProfiler plugin has been disabled since the Qt Quick module is not available.")
warning("QmlProfiler and PerfProfiler plugins have been disabled since the Qt Quick module is not available.")
}
qtHaveModule(help) {