D23348: force applicationDirPath into first position when finding plugins

Harald Sitter noreply at phabricator.kde.org
Thu Aug 22 15:25:29 BST 2019


sitter added a comment.


  Perhaps the answer actually is that QT_PLUGIN_PATH should not be necessary ;)
  
  This is a bit of a chicken and egg problem. When our software can't find plugins automatically we resort to QT_PLUGIN_PATH, but then because we use QT_PLUGIN_PATH we can't just break it to make our software smart. Perhaps the way to go about it is to manually build a list similar to libraryPaths, the idea makes me shiver though... or... just have the libraryPaths order changed in qt. I am really not sure there is a case where plugins "next to" the binary wouldn't be preferred over the ones in lib directories.

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D23348

To: sitter, mpyne, dfaure
Cc: cullmann, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190822/b0e46bbf/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list