forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.3'
Conflicts: plugins/qmlprofilerextension/memoryusagemodel.cpp Change-Id: I444eb11c167cd44b3e68cbe34210d3bcdf039cb4
This commit is contained in:
@@ -32,6 +32,7 @@ MemoryUsageModel::MemoryUsageModel(QmlProfilerModelManager *manager, QObject *pa
|
|||||||
tr(QmlProfilerModelManager::featureName(QmlDebug::ProfileMemory)),
|
tr(QmlProfilerModelManager::featureName(QmlDebug::ProfileMemory)),
|
||||||
QmlDebug::MemoryAllocation, QmlDebug::MaximumRangeType, parent)
|
QmlDebug::MemoryAllocation, QmlDebug::MaximumRangeType, parent)
|
||||||
{
|
{
|
||||||
|
m_maxSize = 1;
|
||||||
announceFeatures((1 << QmlDebug::ProfileMemory) | QmlDebug::Constants::QML_JS_RANGE_FEATURES);
|
announceFeatures((1 << QmlDebug::ProfileMemory) | QmlDebug::Constants::QML_JS_RANGE_FEATURES);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
26
plugins/qmlprofilerextension/qmlprofilerextension.qbs
Normal file
26
plugins/qmlprofilerextension/qmlprofilerextension.qbs
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
import qbs
|
||||||
|
|
||||||
|
QtcPlugin {
|
||||||
|
name: "QmlProfilerExtension"
|
||||||
|
|
||||||
|
Depends { name: "Core" }
|
||||||
|
Depends { name: "LicenseChecker" }
|
||||||
|
Depends { name: "QmlProfiler" }
|
||||||
|
|
||||||
|
Depends { name: "Qt.widgets" }
|
||||||
|
|
||||||
|
files: [
|
||||||
|
"inputeventsmodel.cpp",
|
||||||
|
"inputeventsmodel.h",
|
||||||
|
"memoryusagemodel.cpp",
|
||||||
|
"memoryusagemodel.h",
|
||||||
|
"pixmapcachemodel.cpp",
|
||||||
|
"pixmapcachemodel.h",
|
||||||
|
"qmlprofilerextensionconstants.h",
|
||||||
|
"qmlprofilerextensionplugin.cpp",
|
||||||
|
"qmlprofilerextensionplugin.h",
|
||||||
|
"qmlprofilerextension_global.h",
|
||||||
|
"scenegraphtimelinemodel.cpp",
|
||||||
|
"scenegraphtimelinemodel.h",
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue
Block a user