even if the above code is correct, but... nothing happend
and this is my solution : I create a red .png - for exemple - with "MacromediaFireWorks" ,
I convert it to .ico and it's work with this code :
ui.pushButton->setIcon(QIcon("./icon/28.ico"));
thanks to all![]()





Reply With Quote




Bookmarks