[Qt-interest] Mismatched VC90 CRT versions in manifest file
David Ching
dc at remove-this.dcsoft.com
Thu Jan 28 18:44:16 CET 2010
"Dave Smith" <dave at thesmithfam.org> wrote in message
news:4B61B6D3.6010708 at thesmithfam.org...
> How can I tell what version of Visual Studio 2008 I have installed? I am
> using Express, and Help About shows Version 9.0.30729.1 SP with the
> following details:
>
> Microsoft Visual Studio 2008
> Version 9.0.30729.1 SP
...
> I don't think there's a newer version available.
>
I was going by the manifest that was generated (and apparently not embedded)
when you built your .exe... you said it was 9.0.21022.8 which is VS 2008
RTM. However, you are right, from the About box, you do have VS 2008 SP1.
I think what happened is that you don't have _BIND_TO_CURRENT_VCLIBS_VERSION
defined, so even though you are building with SP1, your generated .exe is
using RTM. See
http://tedwvc.wordpress.com/2009/08/10/avoiding-problems-with-vc2005-sp1-security-update-kb971090/
for more.
> Last night I rebuilt Qt 4.6.1 from sources using my visual studio, and I
> get the same problem on a fresh XP install.
>
Just to make crystal clear, no matter what version of VS was used to build
Qt, and what version of VS was used to build your .exe,
1) They must be binded to the same version of the redists
2) Those redists must be on the target system. A fresh XP install doesn't
have those redists. So you must install them using one of the methods I
said.
-- David
More information about the Qt-interest-old
mailing list