Public bug reported:
Hi,
I have written a plugin for KDE's text editor Kate. Installing my plugin using
cmake --install build/
works fine on Manjaro and Fedora (plugin will be copied to correct path) but
fails in Ubuntu because of a wrong install path.
On Ubuntu the kf6/ktexteditor plugin will be installed to
/usr/local/lib/plugins/kf6/ktexteditor/
which is not even considered by Kate (or other Qt6 applications that use
plugins).
Manual digging reveals that the plugin should in fact be installed to
/usr/lib/x86_64-linux-gnu/qt6/plugins/kf6/ktexteditor/
or at least another mechanism should take place to e.g. symlink the plugins
installed to
/usr/local/lib/plugins/kf6/*
to a path where KDE applications can actually use them.
Ubuntu/package versions:
Ubuntu 25.04
CMake: 3.31.6
extra-cmake-modules: 6.12.0-ubuntu1
Qt6: 6.8.3
kate: 4:24.12.3-ubuntu2
libkf6texteditor-katepart: 6.12.0-ubuntu1 (This package seems to contain the
correct path to qt6 plugins)
** Affects: extra-cmake-modules (Ubuntu)
Importance: Undecided
Status: New
** Tags: cmake kf6 qt6 texteditor
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to extra-cmake-modules in Ubuntu.
https://bugs.launchpad.net/bugs/2122713
Title:
Wrong cmake install path for kf6 (ktexteditor) plugins
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/extra-cmake-modules/+bug/2122713/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs