Qt Static Build for 32 and 64 bit
-
I am trying to set up Qt Creator to be able to build statically (no DLLs to deploy). I have built Qt from source using the MingW compiler and successfully built a 64bit application. However, I'm struggling with the 32bit setup.
When I setup the 32bit Kit, I get an error next to the kit saying the 32bit compiler cannot produce code for this Qt version (x86-windows-msys-pe-64bit). Does this mean I have to build two versions of the static libraries, one for 32bit and one for 64bit ?
TIA
Alan
-
I am trying to set up Qt Creator to be able to build statically (no DLLs to deploy). I have built Qt from source using the MingW compiler and successfully built a 64bit application. However, I'm struggling with the 32bit setup.
When I setup the 32bit Kit, I get an error next to the kit saying the 32bit compiler cannot produce code for this Qt version (x86-windows-msys-pe-64bit). Does this mean I have to build two versions of the static libraries, one for 32bit and one for 64bit ?
TIA
Alan
@alan-b said in Qt Static Build for 32 and 64 bit:
When I setup the 32bit Kit, I get an error next to the kit saying the 32bit compiler cannot produce code for this Qt version (x86-windows-msys-pe-64bit). Does this mean I have to build two versions of the static libraries, one for 32bit and one for 64bit ?
Yes, you need two completely separated toolchains.