On Wednesday, 16 January 2019 08:13:41 PST Nikos Chantziaras wrote: > You don't need all that. Plugins are loaded dynamically by Qt after the > application has already been loaded. The system loader does not load any > plugins, and so they don't need an rpath.
Correct, especially since QPluginLoader (QFactoryLoader) needs to find and open the files to read the metadata stored inside. The RPATH won't help with that. FYI $ qtplugininfo /usr/lib64/qt5/plugins/platforms/libqxcb.so IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" Qt 5.12.0 (release) User Data: { "Keys": [ "xcb" ] } -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest