From 9c9dea1bbf2e07baf37f08cf119ae02458a01c90 Mon Sep 17 00:00:00 2001
From: jkito <jkito@github>
Date: Sun, 6 Nov 2022 23:32:21 +0530
Subject: [PATCH] [pkg] fix qmldir location for windeployqt

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index a907011f..b9254aa5 100644
--- a/Makefile
+++ b/Makefile
@@ -225,9 +225,9 @@ else
 endif
 	@cp ${QTBUILD}/release/${TARGET}.exe ${INST_DATA}${TARGET}.exe
 ifeq (${RELEASE}, yes)
-	@windeployqt --qmldir gui/qml ${INST_DATA}${TARGET}.exe # FIXME --release flag cannot find platform plugin
+	@windeployqt --qmldir gui/components ${INST_DATA}${TARGET}.exe # FIXME --release flag cannot find platform plugin
 else
-	@windeployqt --qmldir gui/qml ${INST_DATA}${TARGET}.exe
+	@windeployqt --qmldir gui/components ${INST_DATA}${TARGET}.exe
 endif
 	# XXX this is a workaround for missing libs after windeployqt ---
 	@cp /c/Qt/5.15.2/mingw81_64/bin/libgcc_s_seh-1.dll ${INST_DATA}
-- 
GitLab