Need help to port to new QT5 plugins
laurent Montel
montel at kde.org
Thu Jul 3 07:59:25 UTC 2014
Finally we investigated it with Volker and moc doesn’t expand macro.
So plugins can’t create with a macro + template.
But it doesn’t return an error when about it.
So I expanded manually macro in each plugins and now I can load them.
(kmail can be launch (but akonadiserver crashs now but it’s another bug :) )
Thanks
Regards
Le mercredi 2 juillet 2014 23:48:05 laurent Montel a écrit :
> Le mercredi 2 juillet 2014 16:25:28 David Faure a écrit :
> > On Wednesday 02 July 2014 13:30:36 laurent Montel wrote:
> > > "Plugin
> > >
> > > verification data mismatch in
> > > '/opt/kde5/lib64/plugins/akonadi_akonotes_resource.so'"
> >
> > It *is* found, it's rather that QLibrary thinks there's a mismatch.
> >
> > Try export QT_DEBUG_PLUGINS=1 to see why.
>
> No info with it:
>
> akonadi_agent_launcher(324)/(default) QFactoryLoader::update: Got keys from
> plugin meta data ("oxygen")
> akonadi_agent_launcher(324)/(default) QLibraryPrivate::load: loaded library
> "/opt/kde5/lib64/plugins/styles/oxygen.so"
> akonadi_agent_launcher(324)/(default) QLibraryPrivate::load: loaded library
> "dbus-1"
> akonadi_agent_launcher(324)/(default) Akonadi::XdgBaseDirs::findPluginDirs:
> search paths: ("/opt/kde5/lib/plugins", "/opt/kde5/lib64/plugins",
> "/opt/kde5/lib/x86_64-linux-gnu/plugins", "/opt/kde5/plugins", "",
> "/opt/kde5/bin")
> akonadi_agent_launcher(324)/() unknown: QPluginLoader*
> AgentPluginLoader::load(const QString&) Failed to load agent: "Plugin
> verification data mismatch in
> '/opt/kde5/lib64/plugins/akonadi_akonotes_resource.so'" pluginFile :
> "/opt/kde5/lib64/plugins/akonadi_akonotes_resource.so" pluginName
> "akonadi_akonotes_resource"
>
>
> When it found I have it: (for qt plugins)
> akonadi_agent_launcher(324)/(default) findPatternUnloaded: Found metadata in
> lib /opt/kde5/lib64/plugins/styles/oxygen.so, metadata=
> {
> "IID": "org.qt-project.Qt.QStyleFactoryInterface",
> "MetaData": {
> "Keys": [
> "Oxygen"
> ]
> },
> "className": "StylePlugin",
> "debug": true,
> "version": 328448
> }
>
>
> akonadi_agent_launcher(324)/(default) QFactoryLoader::update: Got keys from
> plugin meta data ("oxygen")
>
> So not other info.
--
Laurent Montel | laurent.montel at kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.fr
More information about the Kde-frameworks-devel
mailing list