PDA

View Full Version : What about a plugin application?



Raccoon29
11th March 2008, 19:19
I all (it's been a long time!),
my question is as simple as wide:
how would you logically build an application if it has to be extensible by plugins, such as in order to get new functionalities by adding the plugin in a specific application folder.
For example, I'm asking for something like Photoshop or Firefox plugins.

Any sort of suggestion is appreciated.

Greetings,
Niki

wysota
11th March 2008, 20:33
Have you seen Qt's documentation on writing plugins? If not, I suggest you start there. There's a nice example of a simple pluggable image editor.

Raccoon29
16th March 2008, 16:57
Have you seen Qt's documentation on writing plugins? If not, I suggest you start there. There's a nice example of a simple pluggable image editor.
Yes, I gave it a look, but what I found was a chapter that talked about plugin widgets, as designer components...
could I ask you where is this example? I missed it...

przemoc
16th March 2008, 17:06
The Lower-Level API: Extending Qt Applications (http://doc.trolltech.com/latest/plugins-howto.html#the-lower-level-api-extending-qt-applications)
There is a link to Plug & Paint Example (http://doc.trolltech.com/latest/tools-plugandpaint.html) mentioned by wysota.

Raccoon29
16th March 2008, 17:36
The Lower-Level API: Extending Qt Applications (http://doc.trolltech.com/latest/plugins-howto.html#the-lower-level-api-extending-qt-applications)
There is a link to Plug & Paint Example (http://doc.trolltech.com/latest/tools-plugandpaint.html) mentioned by wysota.
Oooh, ok, thanks, I'll study on! ;)