feat: adapt to new wfassoc lib for qwfassoc

This commit is contained in:
2026-08-17 10:38:39 +08:00
parent d2e5bcf2ed
commit 6687ccb143
5 changed files with 5 additions and 138 deletions
+3 -6
View File
@@ -9,9 +9,6 @@ The project is organized as two CMake subprojects:
qwfassoc/ Parent directory (this README)
├── CMakeLists.txt Top-level CMake; add_subdirectory's both
│ subprojects and finds Qt, wfassoc, toml11
├── cmake/
│ ├── Findwfassoc.cmake Verbatim copy of wfassoc's Find module
│ └── README.md Provenance notes for the copy
├── qwfassoc/ Shared library subproject
│ ├── CMakeLists.txt
│ ├── i18n/
@@ -85,9 +82,9 @@ Reproduces the original tabbed wfassoc configurator by:
* **CMake** 3.20 or newer (3.21+ recommended for `qt6_add_translations`).
* A C++17 compiler.
* **Qt 6** with the `Widgets` and `LinguistTools` components.
* **wfassoc**, with `wfassoc_ROOT` pointing at an installed tree (see
[`cmake/Findwfassoc.cmake`](cmake/Findwfassoc.cmake) for the expected
directory layout).
* **wfassoc**, installed as a standard config-mode CMake package
(`wfassocConfig.cmake`). Point `wfassoc_ROOT` (or `CMAKE_PREFIX_PATH`) at
its install prefix so `find_package(wfassoc)` can locate it.
* **toml11** — only required when building the standalone executable.
## Building