[Qt-interest] Qt 4.5.3 and target architecture mismatch

Joshua Senecal jgsenecal at yahoo.com
Wed Feb 3 16:25:11 CET 2010


Hi Alex,

Thanks for taking the time to respond; it's greatly appreciated.

> 
> >> QtCored4.lib(QtCored4.dll) : fatal error LNK1112: module machine type
> >>'X86' conflicts with target machine type 'x64'
> 
> Message above says that "QtCored4.lib" is X86 - means 32 bit, but
> your target is x64 (64 bit).
> Target is defined in your project, so problem is mostly likely in the 
> settings.

If you'll refer to my original post, I mention that the OS is 32-bit 
(Server 2008 32-Bit), and in the project settings the platform is set to 
Win32. I get errors if I set the target machine type to "x86" or "not 
set". This is what's confusing me.

I've been through all the settings that I can find, and everything I can 
see says I should be compiling for a 32-bit architecture. Hence my 
wondering if there might be a Qt configuration issue.

Thanks!

-Josh



More information about the Qt-interest-old mailing list