blob: 326a720a8706b71cced20c38b4796e2566fa0741 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import QtQuick 2.0
Item {
width: 400
height: 400
Component.onCompleted: {
var component = Qt.createComponent("MyComponent.qml")
if (component.status == Component.Error)
console.log(component.errorString())
}
}
|