aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/tutorials/extending/chapter4-customPropertyTypes/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/tutorials/extending/chapter4-customPropertyTypes/main.cpp')
-rw-r--r--examples/qml/tutorials/extending/chapter4-customPropertyTypes/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending/chapter4-customPropertyTypes/main.cpp b/examples/qml/tutorials/extending/chapter4-customPropertyTypes/main.cpp
index 5b6e1cf451..fc59a11987 100644
--- a/examples/qml/tutorials/extending/chapter4-customPropertyTypes/main.cpp
+++ b/examples/qml/tutorials/extending/chapter4-customPropertyTypes/main.cpp
@@ -57,7 +57,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();