Fix crash when no QApplication is available.
Review Request #128767 - Created Aug. 26, 2016 and submitted
This happens when QtCreator launches qmlplugindump. Testcase: qmlplugindump -nonrelocatable org.kde.analitza 1.1 or qmlplugindump -nonrelocatable org.kde.okular 2.0
Lots of warnings still, but at least it doesn't crash.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7ffd16f340c0), parent's thread is QThread(0x14af560), current thread is QThread(0x14e4240)
Could not find any platform plugin
|and these ones?||David Edmundson|