From 2cfa6aa48692348ada830b20d0a360f55e6365cf Mon Sep 17 00:00:00 2001 From: uncor3 Date: Wed, 19 Nov 2025 01:05:25 -0800 Subject: [PATCH] fix: include QML source directory in windeployqt6 command --- cmake/win-deploy.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/win-deploy.cmake b/cmake/win-deploy.cmake index 7b4ba0a..04eb3d8 100644 --- a/cmake/win-deploy.cmake +++ b/cmake/win-deploy.cmake @@ -49,9 +49,9 @@ message("Running windeployqt6 to deploy Qt dependencies (without compiler runtim -message("Executing: ${QT_BIN_PATH}/windeployqt6.exe --dir ${OUTPUT_DIR} --plugindir ${OUTPUT_DIR}/plugins ${EXECUTABLE_PATH}") +message("Executing: ${QT_BIN_PATH}/windeployqt6.exe --qmldir ${QML_SOURCE_DIR} --dir ${OUTPUT_DIR} --plugindir ${OUTPUT_DIR}/plugins ${EXECUTABLE_PATH}") execute_process( - COMMAND ${QT_BIN_PATH}/windeployqt6.exe --dir ${OUTPUT_DIR} --plugindir ${OUTPUT_DIR}/plugins ${EXECUTABLE_PATH} + COMMAND ${QT_BIN_PATH}/windeployqt6.exe --qmldir ${QML_SOURCE_DIR} --dir ${OUTPUT_DIR} --plugindir ${OUTPUT_DIR}/plugins ${EXECUTABLE_PATH} RESULT_VARIABLE WINDEPLOYQT_RESULT OUTPUT_VARIABLE WINDEPLOYQT_OUTPUT ERROR_VARIABLE WINDEPLOYQT_ERROR