PDA

View Full Version : Installing Qt commercial under Windows XP x64



adonel
6th April 2008, 21:20
Hi guys,

I have bought commercial Qt 4.3.4 and want to install it on Windows XP x64.
I have read that the shipped binaries are compiled for the 32-bit, so i used the source code
in order to compile qt.
In order to compile it in 64-bit mode, i opened "Visual Studio 2006 x64 command prompt" and
from there i compiled the Qt.
Everything went ok, and i tried to compile my Qt application from Visual Studio: I created a new Release Configuration for x64 platform and compiled my application.
But, when i check my .exe with the "depends" tool, i see that has a lot of 32-bit dependencies.
How can i check that my executable is a native x64 exe?

Has anyone used Qt under Windows x64?

Thanks in Regards,
Panos

wysota
6th April 2008, 23:10
First of all make sure your platform is determined correctly by Qt build process. Watch closely the output of configure or pass appropriate parameters to it. And remember that the fact that you build Qt for 64bit doesn't yet mean that you won't have any 32b dependencies. You must make sure all other libraries your app needs (including Qt's dependencies) are 64b as well.