Hi,

I'm struggling to set my window icon on a derived QWidget object.

This is the code I have to set the icon :

Qt Code:
  1. setWindowIcon(QIcon(QString::fromUtf8(":/QTCanMonitor/Resources/car.png")));
To copy to clipboard, switch view to plain text mode 

But alas, I still have the default QT icon?

Any help is appreciated,

Steve