SUMMARY KCMUtils fails to compile statically with following error: -- Configuring done CMake Error: install(EXPORT "KF5KCMUtilsTargets" ...) includes target "KF5KCMUtils" which requires target "kcmutils_proxy_model" that is not in any export set. STEPS TO REPRODUCE 1. build the project with -DBUILD_SHARED_LIBS=OFF switch OBSERVED RESULT cmake fails to configure project EXPECTED RESULT Should work just fine SOFTWARE/OS VERSIONS macOS: 12.6 Qt Version: 5.15.6
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcmutils/-/merge_requests/104
Git commit 7d88a75f3592c7f3f3f43863d050f229cc4b0deb by Dawid Wróbel. Committed on 20/09/2022 at 11:32. Pushed by wrobelda into branch 'master'. Fix missing kcmutils_proxy_model export in static builds M +4 -0 src/core/CMakeLists.txt https://invent.kde.org/frameworks/kcmutils/commit/7d88a75f3592c7f3f3f43863d050f229cc4b0deb