qt - QApplication exec() creates new thread / process? -
in qapplication if call exec() new process / thread start?
no, calling exec
will:
enters main event loop , waits until exit() called, returns value set exit() (which 0 if exit() called via quit()).
it necessary call function start event handling. main event loop receives events window system , dispatches these application widgets.
Comments
Post a Comment