these also all need changing to QGuiApplication