mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-06 10:03:26 -08:00
Replace the hand-maintained Windows Qt DLL, plugin and fixup lists with qt_generate_deploy_app_script, which derives the deployment from the target's actual imports. Runtime .ini files such as qtlogging.ini are still copied next to the executable; Linux and macOS install rules are unchanged. The deploy script only sees imports, so the runtime of every linked Qt module is still installed explicitly: QtConcurrent::run and QFutureWatcher are header-only, so Qt6Concurrent.dll is not an import even though required-runtime.txt lists it. The output-variable keyword is FILENAME_VARIABLE on Qt 6.4 and OUTPUT_SCRIPT from 6.5; FindQtRuntime still accepts 6.4.2, so both are handled. The script also assumes CMake's default install layout and would deploy into bin/, while this target installs into the prefix root, so the install pins QT_DEPLOY_BIN_DIR to "./". windeployqt deploys Qt only, so the DLLs from the build directory (the vcpkg runtime: protobuf, abseil, OpenSSL, zlib, lzma, FFmpeg) keep their own copy step. Verification: configure and full client, Oracle, server and test build passed on Linux. A Windows package check is still needed. |
||
|---|---|---|
| .. | ||
| resources | ||
| sounds | ||
| src | ||
| themes | ||
| translations | ||
| .qdevelop | ||
| CMakeLists.txt | ||
| cockatrice-cod.xml | ||
| cockatrice.desktop | ||
| cockatrice.qrc | ||
| cockatrice.rc | ||
| cockatrice_en@source.ts | ||