Trying to avoid the “QCoreApplication::applicationFilePath: Please instantiate the QApplication object first” on OS X in Travis-CI.