qtjambi icon indicating copy to clipboard operation
qtjambi copied to clipboard

Deployment Icon not working in windows

Open kazolar opened this issue 3 years ago • 3 comments

Hi, I am able to use the latest 6.3.2 to create an executable that works but providing a custom icon does nothing. I debugged the deployer code and and on AppGenerator line ~492 there is a check for os, in my case the OS is windows-x64, so that doesn't get into the case statement. I added it and the executable generated is corrupted, with or without specifying the icon as a parameter, the resulting executable doesn't have any icon and is broken if I let it write the icon bytes. Is the offset correct there? something doesn't seem right.

kazolar avatar Jul 11 '22 22:07 kazolar

Give me two weeks to respond.

omix avatar Jul 14 '22 20:07 omix

I feel like you can use the Resource Hacker tool to manually add the exe icon, it's pretty easy.

ITSweets avatar Jul 27 '22 07:07 ITSweets

Sorry for the delay. Now, I found time to take a look at this issue. Unfortunately, I can confirm executable generator always produces wrong. Try to find the cause.

omix avatar Aug 15 '22 13:08 omix

http://www.rw-designer.com/compile-vista-icon provides a tool called ReplaceVistaIcon.exe. Sounds interesting.

omix avatar Aug 15 '22 14:08 omix

Replacing icons is deprecated now in QtJambi 6.3.3 / 6.2.6 / 5.15.8.

omix avatar Aug 22 '22 15:08 omix