We don't need a QApplication here. This also fixes the Qt 6 build, as QtSvg there doesn't bring in QtWidgets anymore.