To Subclass NSApplication in QApplication.
Hi,
I am working on Qt4.7 on mac os 10.5.8(Leopard). I want to use cocoa application with Qt application, Can anybody suggest me how to subclass NSApplication within QApplication.
Thanks & Regards,
Neha
6 replies
That depends on the class and method. Some of them (most notable the GUI classes and many QObject derived classes) need a Qt event loop running (which is usually achieved by starting exec() on a QApplication). Others do not depend on this (e.g. QString, the container classes, the XML classes) and can be used directly.
You must log in to post a reply. Not a member yet? Register here!


