[Qt-interest] Question regarding plugins

Anatoly Burakov burakov.anatoly at googlemail.com
Tue Oct 6 21:37:53 CEST 2009


Hi all

I'm not sure if this is a QT-specific question (more of a general
programming one). But, anyway.

I am going to build an application which is able to use plugins to
extend its functionality. Let's say it's a business application, and
let's say one of the plugins provides application with current currency
rates. How can other plugins see that information, given the initial
application should have no idea about currency rates?

I mean - a currency rate is just a variable. What i am asking for is to
be able to access this variable from within another plugin. Is it
possible? My guess is that this implies dependency of one plugin on
another, but i am not sure how can i get exactly that variable (and not
some newly generated via initializing function of a plugin). So, how can
i achieve that? Just general guidelines is all i need, i'll figure out
implementation on my own.

Thanks in advance



More information about the Qt-interest-old mailing list