I will answer myself.
I was not sure how OSes handle shared libraries.
So I've made a little test, as describe in my previous example.
And it turns out that apparently, under Linux, you can run an application 
multiple times with different plugin versions in each instance.

Olivier




>________________________________
> De : BOUCARD Olivier <[email protected]>
>À : "<[email protected]>" <[email protected]> 
>Envoyé le : Lundi 30 septembre 2013 18h58
>Objet : [Interest] Multiple plugin versions behavior with QPluginLoader
> 
>
>
>Hi guys,
>
>
>I just need some clarification on how QPluginLoader behaves.
>
>
>Let say I have an application X which load plugins using QPluginLoader.
>I have a plugin MyPlugin in two different versions stored in two different 
>folders A and B.
>I first start an instance of X using MyPlugin from folder A.
>Then I start another instance of X using MyPlugin from folder B.
>
>
>What happen in this case? Will the second instance use MyPlugin from A or B?
>Is this behavior the same on all platform?
>
>
>Thanks,
>
>
>Olivier
>_______________________________________________
>Interest mailing list
>[email protected]
>http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to