[Development] A new approach for Qt main()

Benjamin TERRIER b.terrier at gmail.com
Mon Dec 12 11:07:56 CET 2016


2016-12-12 10:56 GMT+01:00 Mark De Wit <mark.dewit at iesve.com>:
> I have an application based on qt-solutions qtwinmigrate sample.
>
> Because we're integrating Qt into an existing MFC application, we're not even running QApplication exec.   The application uses MFC's entry point for startup and drives the Qt event loop manually as part of the MFC event loop.
>
> Mark

I also did something like that on Linux with a software written with
another graphical framework.
We made it work by calling QApplication::processEvents() in the other
framework event loop.

Benjamin



More information about the Development mailing list