I searched this forum and google, but I have not found a solution.
I have a problem with the application icon (icon of executable application in Windows explorer).
My environment - Qt 4.7.0, Qt Creator 2.0.1, Windows 7, 32-bits.
When Qt was originally, dynamically linked everything was ok. In the main project folder are: app.ico and myResource.rc. RC file contains:
IDI_ICON1 ICON DISCARDABLE "app.ico"
In .pro file is line RC_FILE = myResource.rc.
When I linked Qt statically all stopped working. The project will not build. When I try build an application error pops up:
[release / myResource_res.o] ERROR1
This problem is with each resource (Windows resource in .rc file) not only with icon. When myResource.rc is empty problem exists too.
Any idea how to fix it? I want one exe file with nice application icon (shows by windows explorer)
Bookmarks