RCC parses .qrc files, not .rc files.
Does the file name match? Is myapp.rc in correct folder?This is myapp.rc:
Qt Code:
IDI_ICON1 ICON DISCARDABLE "myapp.ico"To copy to clipboard, switch view to plain text mode
If I don't use rcc and just try to add the 'RC_FILE=myapp.rc' I get the error 'no rule to make target myapp.rc needed by build/myapp_res.o'.
You're very close. There must be a small mistake somewhere. Check that the path and file name matches and re-run qmake just to be sure.Now what is the correct way to set an application icon on windows please?






Reply With Quote

Bookmarks