KDE_INSTALL_PLUGINDIR points to the wrong directory in plasma 6
the kcoreaddons_add_plugin command installs the plugin in the wrong location.
the variable ${KDE_INSTALL_PLUGINDIR}
points to the wrong directory in plasma 6
STEPS TO REPRODUCE
- run cmake install in a project that uses kcoreaddons_add_plugin and see the installed locations
OBSERVED RESULT
Installs the plugin in /usr/lib/x86_64-linux-gnu/plugins
EXPECTED RESULT
Install the plugin in /usr/lib/x86_64-linux-gnu/qt6/plugins
SOFTWARE/OS VERSIONS Latest Neon Unstable and Fedora Rawhide
ADDITIONAL INFORMATION It might be related to another bug https://bugs.kde.org/show_bug.cgi?id=461487
Edited by Matin Lotfaliei