[Qt-creator] Invoke a method from plugin

Andrey Poltavets andrey.poltavets at gmail.com
Fri Aug 7 17:39:31 CEST 2015


>
> Not sure what you mean with that.

I misled you. I mean in my app I've launched instance of QtC's
PluginManager and load my plugin to it. Now I need to investigate how can I
use API of my plugin by PluginManager instance.

2015-08-07 17:19 GMT+03:00 Ziller Eike <Eike.Ziller at theqtcompany.com>:

>
> > On Aug 7, 2015, at 1:17 PM, Andrey Poltavets <andrey.poltavets at gmail.com>
> wrote:
> >
> > Hello.
> > How to invoke method from plugin?
> > I have two suggestions:
> > 1) function ExtensionSystem::invoke ? I don't thinks so, because there
> are only few plugins with macro Q_INVOKABLE in QtC's sources.
> > 2) public slot PluginManager::remoteArguments ?
>
>
>
> > I already have launched and loaded my plugin in insular instance of
> PluginManager.
>
> Not sure what you mean with that.
>
> > Now I need to investigate how to invoke a method. Please don't open all
> the cards for my fun, just give me a hint. :)
>
> Make your plugin depend on the other plugin (QTC_PLUGIN_DEPENDS) and use
> that plugin’s API directly.
>
> Br, Eike
>
> --
> Eike Ziller, Senior Software Engineer - The Qt Company GmbH
>
> The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
> Charlottenburg, HRB 144331 B
>
>


-- 
Respectfully,
Andrey Poltavets
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150807/75aa6754/attachment.html>


More information about the Qt-creator mailing list