Compile Qt 5.9.6 from sources for 64 bits: Error in 'nmake' step
Solved
General and Desktop
-
Hi,
Some months ago, I compiled successfully Qt 5.9.6 libraries from sources for 32 bits.
Now I am trying to compile for 64 bits (using a different 'source' folder) but I get an error in the 'nmake' step:
fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'
I am using a 'x64 Native Tools Command Prompt for VS 2017' (as Administrator) to execute 'config' & 'nmake' commands.
I tried to add a new parameter to 'config' command to use 64 libs:
-libdir "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\um\x64"but I get the same problem...
Any help is welcome.
Diego
-
You have to start over with a clean build dir.
-
Thanks, I thought it was clean but it was not...