Can you rather change `QApplication` on this line to `QCoreApplication`?