QmlProfiler: Use QtQuick 1.0 namespace

Allow profiler to run also with 4.7.1
This commit is contained in:
Kai Koehne
2011-03-25 09:26:55 +01:00
parent d8f83e2b1b
commit 96de970522
8 changed files with 11 additions and 11 deletions

View File

@@ -155,13 +155,13 @@ IAnalyzerEngine *QmlProfilerTool::createEngine(ProjectExplorer::RunConfiguration
void QmlProfilerTool::initialize(ExtensionSystem::IPlugin */*plugin*/)
{
qmlRegisterType<Canvas>("QtQuick",1,1, "Canvas");
qmlRegisterType<TiledCanvas>("QtQuick",1,1, "TiledCanvas");
qmlRegisterType<Canvas>("th Monitor", 1, 0, "Canvas");
qmlRegisterType<TiledCanvas>("Monitor", 1, 0, "TiledCanvas");
qmlRegisterType<Context2D>();
qmlRegisterType<CanvasImage>();
qmlRegisterType<CanvasGradient>();
qmlRegisterType<TimelineView>("Monitor",1,0,"TimelineView");
qmlRegisterType<TimelineView>("Monitor", 1, 0,"TimelineView");
d->m_client = new QDeclarativeDebugConnection;
d->m_traceWindow = new TraceWindow();