Application crashes on Linux when setting window icon to QApplication object. Icon set to QMainWindow instead