[Solved] Building Qt 4.8.0 on windows7 64 Bit with VS2010
I recently downloaded the Qt 4.8.0. I have windows7 64 bit OS with VS2010.
I wanted to build this version of Qt.
But when I checked the mkspecs folder it only had win32-msvc2010, but there was no win64-msvc2010.
Thus, What argument do I need to pass to the command "configure -platform" so as to get 64 Bit Qt build ?
Thanks for any help...
tobias.hunger last edited by
IIRC I opened a MSVC command prompt, switched in there to 64bit and then proceeded using the win32-msvc2010 platform.
Note that you need a hotfix applied to MSVC2010 for it to build valid 64bit code of Qt. That may or may not be part of the SP for MSVC, I am not sure.
Anticross last edited by
maybe you need to run Visual Studio 2010 x64 Cross Tools Command Prompt from Visual studio tools and compile, make, and install qt.
Thanks Tobias and Anticross for responding.
I tried building using "Visual Studio X64 win64 command prompt". Only few executable's and dll's got build, and it gave fatal error while building qhelpconverter.exe.
As Tobias said, I think I need to install the hotfix.
Tobias, can you please tell me what Hot fix i need to install ? is it a hot fix for VS or for Qt ?
Thanks a lot for help.
ctrlbrk last edited by
Hey, I had to install this one, I don't know if it's still needed :
I had to install SP1 for VS2010, and the problem was solved.
Thanks a lot for all your help
brainheap last edited by
The problem is not in MSVC2010 at this time. SP1 solved the problem.
But QT itself is not configured properly to change for x64.
I've seen tons of warnings size_t to int conversion data loss.
And even though in static Qt was built OK but the whole application that was working ok in win32 failes after launch.
Qt-ITK-VTK last edited by
Its a long process I have referred this method hope it will help you.