Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
64bit Windows compiling
Wolf-S last edited by
I've wanted to do 64-bit before, but now it is necessary as I have libraries that need to be compiled as part of a 64-bit project.
@#error Win64 installation: Please select the x64 configuration.@
I've found a "thread":http://qt-project.org/forums/viewthread/279 from 2010 detailing that you need to compile Qt for x64 and the only thing that will not be available is 64-bit MSVC debugging. However, I've found some precompiled "x64 4.8.2 binaries":http://0-code.google.com.library.metmuseum.org/p/qt-msvc-installer/ but Qt Creator cannot assign a toolchain to this version in Projects tab.
Is there a working step-by-step guide on how to compile 64-bit apps under Windows?
dbzhang800 last edited by
First, you need a X64 compiler, such as MSVC(64bit) or MinGW-W64
Then download the source code of Qt, and run
All is done.
BTY, If you have got a X64 compiler and X64 Qt library. But QtCreator don't know it. you can give a try to command line.
to see whether it works or not.
lfdm last edited by
I just compiled a fresh x64 copy.
You'll need VS2010 Professional or higher. Express doesn't work apparently. I have not been investigating why.
lgeyer last edited by
The Windows Platform SDK includes a MSVC compiler as well, which should be also sufficient.