Then how do I get out of the main loop? Right now I can only exit the program via Control-C. Doesn't main have to return for objects on the stack to be removed (since it's being put on the stack in main)? I'm never reaching that return statement because I'm in a QCoreApplication.exec() loop that I'm never exiting. I guess my question is how do I get out of that loop nicely.




Reply With Quote
Bookmarks