build: deploy Qt runtime for Windows builds

Run windeployqt as a post-build step for Schedule, copy MinGW runtime DLLs, and place Windows test binaries next to the deployed Qt runtime.
This commit is contained in:
Misaki
2026-10-26 14:54:22 +08:00
parent 059fd721ba
commit 555371a4e0
4 changed files with 73 additions and 2 deletions
+4
View File
@@ -114,3 +114,7 @@ set_target_properties(Schedule PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
)
target_link_libraries(Schedule PRIVATE schedule_ui schedule_sync)
if(WIN32)
schedule_deploy_qt_runtime(Schedule)
endif()