diff options
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp')
| -rw-r--r-- | examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp b/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp index ca32bd91b4..7dfb1cf5a7 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp @@ -14,7 +14,7 @@ int main(int argc, char *argv[]) #endif //![0] view.setResizeMode(QQuickView::SizeRootObjectToView); - view.setSource(QUrl("qrc:///app.qml")); + view.loadFromModule("ChartsApp", "App"); view.show(); return app.exec(); } |
