aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/window/window/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/window/window/window.cpp')
-rw-r--r--examples/quick/window/window/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/window/window/window.cpp b/examples/quick/window/window/window.cpp
index c9e6e90997..619e275f75 100644
--- a/examples/quick/window/window/window.cpp
+++ b/examples/quick/window/window/window.cpp
@@ -49,7 +49,7 @@ int main(int argc, char* argv[])
QGuiApplication app(argc, argv);
QQmlEngine engine;
QQmlComponent component(&engine);
- component.loadUrl(QUrl::fromLocalFile("Window.qml"));
+ component.loadUrl(QUrl("qrc:///window/window/Window.qml"));
if ( component.isReady() )
component.create();
else