Set Icon of my .exe File
i would like to set an application Icon (which is shown on my Desktop).
RC_ICONS = icon.ico
to my .pro file but my compiler says:
mingw32-make: *** [debug/01_resource_res.o] Error 1
Does anyone know what I have to do?
(Qt Creator 3.3.0 - Qt 5.4.0)
Check that doc:
There is a step by step plan on how to show .exe icon.
@max-253yomann What you did should be enough and it works for me. Does deleting the output directory entirely and rebuilding help? Can you check if it links if you create a new empty project and add this icon?
@Chris-Kawa It's true for Qt5 also. I have Qt4 project with this way for setting icons and it works also if project build on Qt5. OP can use it as workaround.
Sure, I'm just suggesting trying to find (and hopefully fix) the problem before looking for workarounds.
Deleting the output directory and rebuilding does not work.
Now I created a new project and now it works.
Thank You :)