Quote Originally Posted by Kumosan View Post
I would say: Forget it. Your user would have to write C++ within you application, compile it with an external compiler, link it during runtime to the application he is currently in?

What on earth are you doing? What user base do you have? Did you think of the security implications of such a model?

Nevertheless, I suppose you thought of all this. It can be done using QProcess to compile your stuff and using plugins to add the freshly compiled lib to your running application.

For an example of plugins:

http://spectrascan.svn.sourceforge.n...52&view=markup
Method 'ExportPluginList::loadPlugins()'
and
http://spectrascan.svn.sourceforge.n.../ExportFilter/
for examples of plugins, which are used with above code.

There a several other examples for plugins in this code, e.g. dynamically added functions to QComboBoxes.
I can't get to run spectrascan that I got from sourceforge. Hmmm. No progress still