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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -