Quote Originally Posted by ChrisW67 View Post
You might have to explain what you mean by "as a service". You can choose to load or not load a plugin dynamically, is that what you are after? Alternatively, are you after a way to 'sandbox' a plugin so that no matter what crashing it does the remainder of the program stays running?
That is exactly what i want! How do you call something like that (might ease searching for it a bit ^_^)

Qt plugins are, once loaded, essentially directly executed code. Google Chrome is more a collection of coupled processes using some sort of RPC that I think you'd have to code yourself in Qt. http://blog.chromium.org/2008/09/mul...hitecture.html
Google Chrome was just an example where one tab can crash without crashing the app. It's not a plugin.. i know.

Quote Originally Posted by wysota View Post
One application is not a trend. And Chrome's tabs are not plugins by any means, at least not in the widespread meaning of that word - it's rather a master-slave architecture.
So this type of things are called a master-slave architecture? so in my case that would be a plugin master-slave architecture?

And just to clear it up. (sorry for not doing so in my first post) What i want to do is make an application. That application itself is the "plugin core". Then i want to have the ability to add plugins to that application that add functionallity to the main application. Lets take a music player as an example.

For a music player this would be the main app:
- Core plugin engine

Then to play music it requires plugins:
- Plugin to play mp3 files
- Plugin to play mms streams
- Plugin to show a gui
etcetera...

Now when you play a MMS stream and for whatever reason the mp3 plugin crashes it should just crash and leave the program working but just without that plugin.

I can make the plugin structure (i already have that) but all i'm looking into now is the possibility of letting a plugin crash without crashing the application or other plugins

Hope that helps to clear it up. Will put it in my first post as well.
edit:// oh, can't edit my first post anymore..