On 26/09/17 17:06, Florian Bruhin wrote: > > In Qt5, many things moved from QtGui to QtWidgets. > > QtGui.QApplication only exists in Qt4, you probably want > QtWidgets.QApplication. > Thank you for your reply Florian, problem solved. Do I still need to import QtGui or is it QtWidgets instead. I think it's QtWidgets instead. -- Regards, Phil