On Sunday, 8 September 2013 14:19:02 CEST, Pali Rohár wrote:
Maybe another (funny) solution for loading plugins from build directory (without installing). Support for loading shared libraries from build directory is already done by cmake via adding build directory to rpath to all ELF binaries. When binaries are installing, cmake removing rpaths. So what about loading plugins from rpaths? It is even possible to read rpath in application?

Well, the impression I get from this is that rpath is actually *exactly* what we are looking for. Cmake handles it for us by default and it is *the* tool for specifying custom library search path on Unix. It's a pity that QPluginLoader probably does not respect that settings.

I'll think about this a bit more.

Cheers,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to