[Interest] Qt.conf and desktop application

Thiago Macieira thiago.macieira at intel.com
Wed Jan 16 20:06:05 CET 2019


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






More information about the Interest mailing list