From 0ff1b51223bd8f3424c83e5c044fd8a8887ae1c6 Mon Sep 17 00:00:00 2001 From: Orangerot Date: Thu, 15 Aug 2024 11:12:32 +0200 Subject: feat(CMakeLists): package qml and resources into the application --- src/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3