Bo Peng wrote:
That is really great.
I do not have access to the windows system right now, could you check
for me if designer.exe.manifest is the same as QtGui4.dll.manifest?
Yes they are identical. Note that QtGui4.dll.manifest was in the lib
subdir whereas designer.exe.manifest is in the bin/ subdir along
designer.exe.
Logically speaking, we should use that one.
Also, have your tried to embed the manifest file to lyx.exe? Which
commands did you use?
Note this one, I'll try again tomorrow.
Also, if you move the lyx.exe or qtgui4.dll, or
msvcrt.dll to another place, will lyx.exe still start?
The way I see it, there's two solutions:
1) distribute lyx.exe.manifest alongside lyx.exe (the manifest must be
the exact same name as the exe).
2) attach the manifest into the exe with the mt tool:
mt.exe /manifest lyx.exe.manifest /output...
Warning: Don't use '-' but '/'!!!
The Qt libraries should be distributed with the exe. For the libraries
MSVC libraires there are two solutions:
1) Install them with the MS distributable tools
2) put them alongside lyx.exe together with a specially tailored
Microsoft.VC80.CRT.manifest file.
Thank you very much for figuring this out. I have kind of lost my
patience on this issue.
I was close to loose mine also. Bloody Microsoft.
Abdel.
Cheers,
Bo