how to overwrite QApplication::exec()

565 views Asked by At

in SDL,SFML you need to implement your own main loop.However in Qt it is predefined as QApplication::exec() . But I want to declare my own main loop in Qt for some other APIs t works. I tried QTimer which works great but I don't want it for some reason . what is minimal code I require to overwrite QApplication::exec().

0

There are 0 answers