[Qt-creator] Invoke a method from plugin
Ziller Eike
Eike.Ziller at theqtcompany.com
Fri Aug 7 16:19:00 CEST 2015
> 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
More information about the Qt-creator
mailing list