This may be a very stupid question, but I hope you can give me some answers.
I have a commercial application that uses Qt3 for its GUI and a built-in Python (command line) interpreter for scripting. I want to write a custom plugin for this application that uses Qt4. A plugin is basically a QMainWindow subclass class that is associated with the dll (so I'm on Windows) along with the python boost shell. The python shell should be the interface between my plugin and my commercial application.
So my question is: is this possible? This is how Qt3 code works, regardless of how Qt4 code runs in the same application.
The first experiments led to the disconnection of applications, I will try to study this further ...
Thanks!
Edit: My application crashed because I did not create an qT4 qapplication instance. Therefore, when I create the instance, everything works well without the additional Qt namespace (which is suggested in the answers, so there is no need to recompile) !;)
source
share