diff options
author | Orangerot <purple@orangerot.dev> | 2024-08-15 11:12:32 +0200 |
---|---|---|
committer | Orangerot <purple@orangerot.dev> | 2024-08-15 11:12:32 +0200 |
commit | 0ff1b51223bd8f3424c83e5c044fd8a8887ae1c6 (patch) | |
tree | c5354d1cd163b5d2a0a20ca1f029870207ea0fe1 /src/main/main.cpp | |
parent | 94fb05a764c1d0d1f275f29ecd21686d835f9768 (diff) |
feat(CMakeLists): package qml and resources into the application
Diffstat (limited to 'src/main/main.cpp')
-rw-r--r-- | src/main/main.cpp | 2 |
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 |