Make sure to initialize the QApplication before trying to show the error box in lumina-open (if the application that got started crashed).