libksane, KSaneCore and QT_NO_KEYWORDS
Christophe Giboudeaux
christophe at krop.fr
Thu Sep 29 11:09:10 BST 2022
Hello,
On jeudi 29 septembre 2022 10:22:19 CEST Tobias Leupold wrote:
>
> So what's the rationale behind still releasing libksane, when it can't be
> used anymore, and one has to port one's code to KSaneCore anyway?
>
libksane is still needed by a couple applications:
https://lxr.kde.org/search?%21v=kf5-qt5&_filestring=&_string=KF5%3A%3ASane
> The KSaneCore API docs say that one should use
> "target_link_libraries(yourapp KF5::SaneCore)" in CMakeLists.txt to link
> against it. That actually didn't work, I had to use
> "target_link_libraries(scandoc ... KSane::Core)" to make it work. Am I
> missing something, or should either the documentation be changed and/or the
> "KF5::SaneCore" target be added/defined?
The change is intentional: https://invent.kde.org/libraries/ksanecore/-/
commit/40c3d3687aee
The metainfo.yaml also needs an update
More information about the kde-devel
mailing list