On Dienstag, 10. September 2013 17:15:41 CEST, Jan Kundrát wrote:
On Tuesday, 10 September 2013 11:52:35 CEST, Pali Rohár wrote:
And what about using *only* QCoreApplication::libraryPaths()
for searching trojita plugins?
Would you like to store plugins as
/usr/bin/trojita-plugins/trojita_plugin_foo.so? I wouldn't.
As an example (not reference), qupzilla loads plugins from:
DATADIR + /plugins (/usr/share/qupzilla/plugins on Linux, exe-location/plugins
on Windows)
PROFILEDIR + /plugins (~/.qupzilla/plugins on Linux,
somewhere-in-documents/.qupzilla/plugins on Windows)
Linux only: /usr/lib/qupzilla
-- https://github.com/QupZilla/qupzilla/wiki/Plugins#loading-plugins
Cheers,
Thomas