How to set icon for the exe in debug and release folder using qt?
How to set icon for the exe in debug and release folder using qt?
I have added the resourcefile and made the following change.
Code:
app.
setWindowIcon(QIcon(QString(":/images/ocz_32x32.bmp")));
I have tried this, but while executing the application , i can see the icon on the top left corner of the window. I would like to see the icon in the debug folder and release folder as well. How to set icon for the exe.
Re: How to set icon for the exe in debug and release folder using qt?
After 240 posts you still haven't worked out that Qt Assistant should be the first place you look for answers.
Open Qt Assistant, and search for "application icon" in the index.
Re: How to set icon for the exe in debug and release folder using qt?
I have tried that method from Qt assistant. Setting the application icon . Again the same result..
Re: How to set icon for the exe in debug and release folder using qt?
I think you mean the icon of the executable file itself. Go through this link.
Re: How to set icon for the exe in debug and release folder using qt?
yes. the icon of the executable. I have tried with the above method. It doesnt work.
Re: How to set icon for the exe in debug and release folder using qt?
you are using bmp image. This is platform dependent, assigning icon to .exe files. For windows, it has to be ico file. And the functionality provided in the link is NOT broken. I can vouch for that. Please go through it a bit more carefully