summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2024-08-15 11:12:32 +0200
committerOrangerot <purple@orangerot.dev>2024-08-15 11:12:32 +0200
commit0ff1b51223bd8f3424c83e5c044fd8a8887ae1c6 (patch)
treec5354d1cd163b5d2a0a20ca1f029870207ea0fe1 /src
parent94fb05a764c1d0d1f275f29ecd21686d835f9768 (diff)
feat(CMakeLists): package qml and resources into the application
Diffstat (limited to 'src')
-rw-r--r--src/main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp
index cddb26b..cee893e 100644
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
QQmlEngine engine;
QQmlContext *objectContext = new QQmlContext(engine.rootContext());
- QQmlComponent component(&engine, "../../res/gui/application.qml");
+ QQmlComponent component(&engine, "qrc:/qt/qml/itat/res/gui/application.qml");
QObject *object = component.create(objectContext);
// ... delete object and objectContext when necessary