﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
297	icon corruption	KO Myung-Hun		"Hi/2.

If some icons, maybe 24-bits or 32-bits icons are used, a default icon of a program is corrupted. That is, an icon of a program listed in a folder on WPS is corrupted.

I investigated this problem, and found the causes. They were compressions. Compression is done by two steps in linking stage. One is QMAKE_RUN_RC2EXE, the other is QMAKE_EXEPACK.

If removing -x2 from QMAKE_RUN_RC2EXE and exepack from CONFIG, the problem has gone.

However, without lxlite, the size of .exe and/or .dll is much bigger. So swapping the order of QMAKE_RUN_RC2EXE and exepack is helpful. That is, compress .exe and/or .dll with lxlite, then embed .res to .exe and/or .dll without compression.

Although a whole size is a little bigger, but when porting Windows programs, icons will not be corrupted.


"	defect	closed	major		General	4.7.3	low	wontfix		
