aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativecomponent/data/createObject.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativecomponent/data/createObject.qml')
-rw-r--r--tests/auto/declarative/qdeclarativecomponent/data/createObject.qml5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/auto/declarative/qdeclarativecomponent/data/createObject.qml b/tests/auto/declarative/qdeclarativecomponent/data/createObject.qml
index 4a067911df..da5db8e8e6 100644
--- a/tests/auto/declarative/qdeclarativecomponent/data/createObject.qml
+++ b/tests/auto/declarative/qdeclarativecomponent/data/createObject.qml
@@ -1,16 +1,13 @@
-import QtQuick 1.0
+import QtQuick 2.0
Item{
id: root
property QtObject qobject : null
property QtObject declarativeitem : null
- property QtObject graphicswidget: null
Component{id: a; QtObject{} }
Component{id: b; Item{} }
- Component{id: c; QGraphicsWidget{} }
Component.onCompleted: {
root.qobject = a.createObject(root);
root.declarativeitem = b.createObject(root);
- root.graphicswidget = c.createObject(root);
}
}