[Interest] Anything like QCA::applicationDirPath() for libraries?
kitts.mailinglists at gmail.com
Thu Nov 10 13:16:21 CET 2011
On Nov 10, 2011 2:05 PM, "Mandeep Sandhu" <mandeepsandhu.chd at gmail.com>
> > The library, however, may not always be at a fixed location relative to
> > executable as my executive has an option to receive the plugin path as
> > line option.
> How about passing this path, given to you via the cmdline, to the
> plugin. The plugin can then add the relative path of the binary to it
> and invoke it.
That's an option but since the the application only knows of the
plugininterface class that each plugin implements, I would have to modify
the interface API which would also affect all other plugins. I'd like to
Currently, I'm going to solve my use case by adding a method to my plugin
manager class that can be used to query the path of any loaded plugin.
But my question is still open... anything similar to applicationDirPath()?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest