From 9b2cb424c21b7d4eaafd87c36a9e51ede3795ccf Mon Sep 17 00:00:00 2001
From: Burak Hancerli <burak.hancerli@qt.io>
Date: Mon, 20 Jan 2025 12:50:23 +0100
Subject: [PATCH] fix: relative image paths are not working

---
 src/backend/main.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/main.cpp b/src/backend/main.cpp
index 05bd977..79bca5d 100644
--- a/src/backend/main.cpp
+++ b/src/backend/main.cpp
@@ -35,6 +35,7 @@ int main(int argc, char *argv[])
     Logger::instance();
 
     qDebug() << "Starting Qt Design Viewer";
+    qputenv("QML_COMPAT_RESOLVE_URLS_ON_ASSIGNMENT", "1");
 
     QApplication app(argc, argv);
     QApplication::setOrganizationName("Qt");
-- 
GitLab