summaryrefslogtreecommitdiffstats
path: root/examples/location/places_map/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/location/places_map/main.cpp')
-rw-r--r--examples/location/places_map/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/location/places_map/main.cpp b/examples/location/places_map/main.cpp
index b93cac43..40b8bc2b 100644
--- a/examples/location/places_map/main.cpp
+++ b/examples/location/places_map/main.cpp
@@ -45,7 +45,7 @@ int main(int argc, char **argv)
{
QGuiApplication app(argc,argv);
QQuickView view;
- view.setSource(QUrl::fromLocalFile("places_map.qml"));
+ view.setSource(QUrl(QStringLiteral("qrc:///places_map.qml")));
view.show();
return app.exec();
}