On Sunday 25 November 2012 13:49:48 Chusslove Illich wrote: > > [: David Faure :] > > I think this should be QLibrary("kf5/ktranscript"), and ensuring the file > > on disk is called ktranscript.so (no "lib" in front). > > I forgot to say I tried that too :)
OK I'm having the same problem with a plugin I just wrote, and I investigated further, and QLibrary/QPluginLoader don't actually support relative paths. I'm working on a patch for Qt5, but there are many complications.... For now you might want to iterate over QCoreApplication::libraryPaths() by hand and try to load it (without suffix), and if that fails, keep iterating. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE, in particular KDE Frameworks 5 _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel