0

I just compiled qt as explained here:

Compiling Qt 4.8.x for Visual Studio 2012

But when I am compiling my code which was written by somebody else, I am getting this rror:

Error   74  error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'   projectDir\QtCored4.lib(QtCored4.dll)   

What is the problem and how can fix it?

Community
  • 1
  • 1
mans
  • 17,104
  • 45
  • 172
  • 321
  • Are you trying to build 32bit software with 64bit libraries? – cmannett85 May 15 '13 at 14:39
  • @cmannett85 not really! I am just trying to build my application. It seems that I compiled QT for 64 bit system and my application is targeted for 32 bit – mans May 15 '13 at 14:54

0 Answers0