-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location of the QT plugins #2
Comments
I picked the libdir instead of qt's plugin dir because both qt itself and kde package qml modules the same way. We could try the plugin dir but it doesn't seem to be the conventional way to handle it. |
In my opinion, it is better to follow the concept, this is a plugin, and it has no place in libdir. |
How about searching for a plugin first in one directory and then in another? |
Library dependencies such as the ones between the exported .so files are usually resolved via RUNPATH or RPATH. Not putting it there makes it impossible for the dynamic linker to find. Additionally the libraries you see in /lib aren't actually qt plugins. The plugin binaries live inside their respective qml module folders. While it's possible to change the rpath, it shouldn't go in the plugins folder, anddepending on the distro it may be replaced with a more generic string. If you can find some other qt applications successfully packaged with a qml module rpath I can look further into it. |
The libraries
libhyprland-quick-style-impl.so
andlibhyprland-quick-style.so
do not have their ownSOVERSION
and logically appear to be plugins. If that is the case, shouldn't they be installed inQT_PLUGIN_DIR
(e.g., /usr/lib64/qt6/plugins/)? Currently, they are being installed inLIBDIR
. Is this correct, or is it a mistake?The text was updated successfully, but these errors were encountered: