aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/tutorials/extending/chapter5-listproperties/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/tutorials/extending/chapter5-listproperties/main.cpp')
-rw-r--r--examples/qml/tutorials/extending/chapter5-listproperties/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending/chapter5-listproperties/main.cpp b/examples/qml/tutorials/extending/chapter5-listproperties/main.cpp
index f8826f6c31..8a4afcf96d 100644
--- a/examples/qml/tutorials/extending/chapter5-listproperties/main.cpp
+++ b/examples/qml/tutorials/extending/chapter5-listproperties/main.cpp
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
QQuickView view;
view.setResizeMode(QQuickView::SizeRootObjectToView);
- view.setSource(QUrl::fromLocalFile("app.qml"));
+ view.setSource(QUrl("qrc:///app.qml"));
view.show();
return app.exec();
}