diff options
Diffstat (limited to 'tests/auto/qml/qqmltypeloader/data/trim_cache2.qml')
-rw-r--r-- | tests/auto/qml/qqmltypeloader/data/trim_cache2.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmltypeloader/data/trim_cache2.qml b/tests/auto/qml/qqmltypeloader/data/trim_cache2.qml new file mode 100644 index 0000000000..326a720a87 --- /dev/null +++ b/tests/auto/qml/qqmltypeloader/data/trim_cache2.qml @@ -0,0 +1,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()) + } +} + |