Files
qt-creator/tests/manual/debugger/qquick1/qml/main.qml
Kai Koehne f7c9b4eeb2 Debugger: Add simple app to test mixed QML/CPP debugging (QQuick1)
Change-Id: I7b7983a795c3c72e611bd6531c84cf498fb15c9f
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 16:18:01 +01:00

30 lines
492 B
QML

import QtQuick 1.1
import myplugin 1.0
Rectangle {
width: 100
height: 100
MyType {
id: time
}
Component.onCompleted: {
// bp here should be hit on startup
backend.greet("C++");
}
Connections {
target: backend
onGreetBack: {
console.log("hello \"" + toWhom + "\"");
}
}
Text {
anchors.centerIn: parent
// bp here should be hit every second
text: time.timeText
}
}