Okay so say I have an application, I supply the users with a limited QT API to write a plug-in for my application. Once they write that qt plug-in I need a way to register that plug-in with my application so my application can use that plug-in.

So my application would have a drop down, click install plug-in, browse to the user created plug-in and load it. Once its loaded a button would appear on my application, and when they click that button their plug-in would be launched.

Thats my ultimate goal. The part i'm confused on is how I tell my application to register that plug-in and use it.