Home > Mobile >  Very strange Qt problem, with two days still can't solve
Very strange Qt problem, with two days still can't solve

Time:10-23

I have an old interface library source code, can only use Qt4, but the old interface library supports the highest compiler is vs2010, yesterday I use VS2013 using 64 - bit compiled Qt4.8.7 source code, and then on the basis of compiled 64 Qt4.8.7 compiled the interface library, as a result, in the development, as long as the link to the interface library, it is always an error is as follows:
QtCore4. Lib (QtCore4. DLL) : fatal error LNK1112: module machine type 'x64' conflicts with the target machine type 'X86'
NMAKE: fatal error U1077: '" C: \ Program Files \ Microsoft Visual Studio (x86) VC 12.0 \ \ BIN \ amd64 \ link EXE "' : return code '0 x458'
Stop.
NMAKE: fatal error U1077: '" C: \ Program Files \ Microsoft Visual Studio (x86) VC 12.0 \ \ BIN \ amd64 \ NMAKE exe "' : return code '0 x2
Stop.
NMAKE: fatal error U1077: 'CD' : return code '0 x2
Stop.
19:52:51: The process of "C: \ Program Files \ Microsoft Visual Studio (x86) VC 12.0 \ \ BIN \ amd64 \ nmake exe" exited with code 2.
Kit: Error while building/deploying project MVision (Qt4.8.7 _vc2012)
The When executing step "Make"


For help, this how to solve

CodePudding user response:

Which place is not set to check must be in 64
  •  Tags:  
  • Qt
  • Related