PDA

View Full Version : Compile Qt with Visual Studio 2008 64 bit



^NyAw^
3rd December 2010, 10:18
Hi,

i'm trying to compile Qt on Windows using Visual Studio 2008 to get 64 bit Qt libs.
I started the "x64 cross tools command for Visual Studio 2008" and setted "QTDIR=C:\Qt\Qt4.6.1-x64" and "QMAKESPEC=win32-msvc2008".
When calling "configure" I get this error message:


Creating makefiless in src...
Generating Visual Studio project files...
execute: Unknown error
(-nodepend)
(-tp)
(vc)
(-spec)
(win32-msvc2008)
(-r)
(C:/Qt/Qt4.6.1-x64/projects.pro)
(-o)
(C:/Qt/Qt4.6.1-x64)
Qmake failed, return code -1

Generating Makefiles...
execute: Unknown error
(-spec)
(win32-msvc2008)
(-r)
(C:/Qt/Qt4.6.1-x64/projects.pro)
(-o)
(C:/Qt/Qt4.6.1-x64)
Qmake failed, return code -1


I know that QMAKESPEC points to "win32-msvc2008" but there is no "win64-msvc2008" option.
Is there anyone that compiled Qt for x64 system using Visual Studio 2008? Or someone knows if it is possible?

Thanks,

^NyAw^
3rd December 2010, 13:48
Hi,

Maybe the programming system must be 64 bit edition?

Thanks,

^NyAw^
10th December 2010, 16:10
Hi,

Is there anyone that made it works?
The configure errors are not getting me enough information to know wich is the problem.
I readed that some people compiled Qt for x64 using Visual Studio 2005 that is not officialy supported but they don't explain if they had some problems doing it.

Thanks,