Commit 96de9705 authored by Kai Koehne's avatar Kai Koehne

QmlProfiler: Use QtQuick 1.0 namespace

Allow profiler to run also with 4.7.1
parent d8f83e2b
......@@ -31,7 +31,7 @@
**
**************************************************************************/
import QtQuick 1.1
import QtQuick 1.0
import Monitor 1.0
import "MainView.js" as Plotter
......@@ -61,7 +61,7 @@ Item {
font.pixelSize: 12
anchors.baseline: lbl.baseline
anchors.left: guideline.right
maximumLineCount: maxLines
// maximumLineCount: maxLines
onLinkActivated: detail.linkActivated(link)
}
}
......@@ -31,7 +31,7 @@
**
**************************************************************************/
import QtQuick 1.1
import QtQuick 1.0
Item {
property alias text: txt.text
......
......@@ -31,7 +31,7 @@
**
**************************************************************************/
import QtQuick 1.1
import QtQuick 1.0
import Monitor 1.0
import "MainView.js" as Plotter
......
......@@ -31,7 +31,7 @@
**
**************************************************************************/
import QtQuick 1.1
import QtQuick 1.0
import Monitor 1.0
import "MainView.js" as Plotter
......
......@@ -32,7 +32,7 @@
**************************************************************************/
import "MainView.js" as Plotter
import QtQuick 1.1
import QtQuick 1.0
import Monitor 1.0
Item {
......
......@@ -31,7 +31,7 @@
**
**************************************************************************/
import QtQuick 1.1
import QtQuick 1.0
Rectangle {
id: button
......
......@@ -31,7 +31,7 @@
**
**************************************************************************/
import QtQuick 1.1
import QtQuick 1.0
import Monitor 1.0
import "MainView.js" as Plotter
......
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment