summaryrefslogtreecommitdiff
path: root/examples/hybridshell/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hybridshell/main.cpp')
-rw-r--r--examples/hybridshell/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hybridshell/main.cpp b/examples/hybridshell/main.cpp
index ce7f463..949bb65 100644
--- a/examples/hybridshell/main.cpp
+++ b/examples/hybridshell/main.cpp
@@ -12,7 +12,7 @@ int main(int argc, char *argv[])
qmlRegisterType<Shell>("Qt.labs", 1, 0, "HybridShell");
QtQuick2ApplicationViewer viewer;
- viewer.setMainQmlFile(QStringLiteral("qml/hybridshell/main.qml"));
+ viewer.setMainQmlFile(app.applicationDirPath() + QStringLiteral("/qml/hybridshell/main.qml"));
viewer.showExpanded();
return app.exec();