VS2010 problem
-
Checked that, it says v100.
I begin to suspect the intermediate manifest file.
Look:
@ <dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC90.DebugCRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>@What is the origin of this content? A setting in the project, or is it generated by qmake?
-
Ok, you have some manifest dependency which is generated during each VS build. "Properties/Manifest tool" has field named "Suppress dependency element" also some field about dependency exists in "Properties\Linker\Manifest". I don't know is it solution or not but if it isn't may be you will attach your project here and I'll try to correct it by myself?
-
Some news: I disabled manifest generation for my project, and now I got a related error for QtGuid4.dll:
@Activation context generation failed for "C:\Qt\4.6.3\bin\QtGuid4.dll". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.@
Does this mean that "http://qt.nokia.com/downloads/windows-cpp-vs2008" as is will not be usable with vs2010?
Do I have to rebuild Qt with vs2010?
-
Hm, actually you shouldn't use VS2008 libs for v100 toolset. I see two variants:
- Install vs2008 on the target machine, switch properties in project to use v90. You'll have VS2010 as your primary IDE still but with v90 toolset. Bad variant I believe.
- Rebuild Qt with VS2010 and use it without any troubles. It's more time consuming but more righteous way.
-
-