The application frame (empty window) is shortly shown before the application crashes without the chance to hook up with the debugger. However, the console prints:
QWidget: Must construct a QApplication before a QWidget
QWaitCondition: Destroyed while threads are still waiting