How to build 64bit Qt for windows
IMPORTANT: The content of this page is outdated. Reason: This article was written for Qt4 If you have checked or updated this page and found the content to be suitable, please remove this notice. |
Building 64bit Qt on Windows with Microsoft Visual Studio is pretty straightforward if you have built 32bit Qt. There is no need to make change in qmake and mkspec. It has been confirmed to work up to Qt 4.7.4 at the time of this writing.
If you have built Qt before
With Microsoft Visual Studio installed, run your build using its 64bit command prompt and follow the same steps you would for a 32bit build. Note that if you use Microsoft Visual Studio 2010, you must have its Service Pack 1 installed to avoid major build issues.
There are two easy ways to open the 64bit command prompt in 2010:
- Start->All Programs->Microsoft Visual Studio 2010->Visual Studio Tools->Visual Studio x64 Win64 Command Prompt (2010)
- Launch it from the Tools menu within Visual Studio
If you have not built Qt before
Never fear! If I can do it, you can, too. Follow the step-by-step instructions at this link: How to compile Qt4.7 with Visual Studio 2010.
A couple warnings
Keep in mind that Qt x64 is not completely supported by Nokia yet, so some bugs still exist.