forked from qt-creator/qt-creator
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user