[Qt-interest] manifest/runtime trouble when building Qt with VS2008 SP1 command-line

David Ching dc at remove-this.dcsoft.com
Thu Dec 17 23:04:37 CET 2009


"Paul Miller" <paul at fxtech.com> wrote in message 
news:4B2A9FC8.9070901 at fxtech.com...
> The thing is, in my projects, I am definitely not defining 
> _BIND_TO_CURRENT_VCLIBS_VERSION. Is there some other way this could become 
> automatically enabled? I wish there was a project setting for C++ apps 
> where you could specify which runtime you want.
>

Defining _BIND_TO_CURRENT_VCLIBS_VERSION would also do it.  Another thing I 
just stumbled across is:  #pragma comment(linker, 
"/include:__forceCRTManifestCUR")


>> Do you know of a way of making qmake add the #define to all the makefiles 
>> it
>> generates?  I don't.  If there is no easy way, the easiest is to change 
>> your
>> apps/DLL's.
>
> Probably by modifying the mkspec?
>

Is mkspec a parameter to configure.exe?


> What would happen if I REMOVED the ATL update?
>
> Will reverting back to VS2008 RTM (not SP1) make the problem "go away"?

Removing both the ATL Update and VS2008 SP1 will cause everything built by 
your VS to be RTM.

-- David

 




More information about the Qt-interest-old mailing list