On 24.06.2013, at 14:58, Guido Seifert <[email protected]> wrote:

> Hi,
> is there a way to make the qtcreator use a custom plugin search path?
> The PluginManager has a function 'setPluginPath', I don't think I can 
> use it from within a plugin to add another plugin search path. When a
> plugin is loaded, all the search paths are already evaluated.
> 
> There does not seem to be a commandline argument and I did not find
> anything in the qtcreator configs.


> Am I stuck with either system wide
> or the default user locations?

Yes.
Extending the plugin path from a plugin doesn't work for obvious reasons as you 
already point out (plugin path and list of plugins being collected before 
resolving & running any plugin), but I don't see a reason to disallow adding 
plugin paths through a setting & command line parameter, if that helps.
(Settings can also be provided "installation wide" btw, see the initialization 
of globalSettings in main.cpp)

Br, Eike

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to