Fix crash when no QApplication is available.

Review Request #128767 - Created Aug. 26, 2016 and submitted

David Faure
kdeframeworks, plasma
This happens when QtCreator launches qmlplugindump.
Testcase: qmlplugindump -nonrelocatable org.kde.analitza 1.1
or qmlplugindump -nonrelocatable org.kde.okular 2.0

see description

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


  • 1
  • 0
  • 0
  • 1
Description From Last Updated
and these ones? David Edmundson David Edmundson
Marco Martin
David Edmundson
David Faure
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit a940089a8f2af58b14b4bfa76db23a199b65a04e by David Faure to branch master.