9.3. QApplication and the Event Loop