Created attachment 163805 [details] chnages to build with Qt6 and no KDocTools SUMMARY *** KF6::DocTools is listed in target_link_libraries() in src/CMakeLists.txt, but it is not required - it is not used in code, only some tools from kdoctools package are used for documentation generation. *** STEPS TO REPRODUCE 1. remove kdoctools package 2. run cmake, everything is ok 3. build OBSERVED RESULT build failed, KDocTools is required to link the application EXPECTED RESULT successful build, as KDocTools is optional package (according to root CMakeLists.txt) SOFTWARE/OS VERSIONS Linux/KDE Plasma: ArchLinux/KDE Plasma 6 Beta, Wayland KDE Plasma Version: 5.90.0 KDE Frameworks Version: 5.246.0 Qt Version: 6.6.1 ADDITIONAL INFORMATION doc/CMakeLists.txt also needs to be updated - it checks only for KF5DocTools
Git commit 6e19c9e65f99ea02088e71dbc98045eeca600c07 by George Florea Bănuș. Committed on 10/12/2023 at 12:56. Pushed by georgefb into branch 'master'. cmake: don't link to KF6::DocTools M +1 -1 doc/CMakeLists.txt M +0 -1 src/CMakeLists.txt https://invent.kde.org/multimedia/haruna/-/commit/6e19c9e65f99ea02088e71dbc98045eeca600c07