Qt - What is QApplication, simply?
The most important thing to know about QApplication is that its exec method runs the event loop, which is basically the piece of software that makes slots and signals work.
To put it simply, if there is no running event loop, the events fired by your GUI components will not be propagated at all, so your UI will just not do anything at all.