PDA

View Full Version : how to install qt-sdk-win-opensource-2009.02.1.exe with qt-vs-addin-1.0.1.exe



dognzhe
22nd May 2009, 03:59
can any one tell me how to intall these two packages?

i have been try to do for 4 hous. it still not working.

where I am up to now

my vs can compile now, but it will give me a error:


fatal error LNK1181: cannot open input file 'qtmaind.lib

then i go to that folder, there is no any lib files

so I guess i need to build it with vs

then I open cmd and go:


c:\qt\4.5.0-vc\qt> configure -platform win32-msvc2005

it give me a error:


c:\qt\4.5.0-vc\qt\include\qtcore\../../src/corelib/global/qglobal.h(45) : fatal
error C1083: Cannot open include file: 'stddef.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\
l.EXE"' : return code '0x2'
Stop.
Building qmake failed, return code 2

and i have set evn path include the "C:\Qt\4.5.0-vc\qt\bin"


what to do????????????????????help!!!!!!!!!!!!

dognzhe
22nd May 2009, 04:47
D:\lib\qt\4.1.1>"C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
Setting environment for using Microsoft Visual Studio 2005 x86 tools.

bnilsson
4th June 2009, 22:01
I have a similar problem.
The AddIn Qt setup in Visual Studio will not accept Qt version "2009.02", the ok button is dimmed.
If I use C:\Qt\4.5.1 as version, it is accepted, but the "Qt Application" template generates a project which wants ".lib" libraries, while there are only "lib*.a" libraries in the C:\Qt\4.5.1\lib directory.

D:\lib\qt\4.1.1>"C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
is a bit cryptic.
Could you please explain in more detail what you mean? And what it does?
And if it solves the above problem?

BN

bnilsson
5th June 2009, 09:55
An answer to my own questions, and maybe to the original post:
Maybe it is not possible (or even relevant) to combine VS with the "Complete Development Environment" with the Qt Creator etc.
I installed the "qt-vs-addin-1.0.1" together with "qt-win-opensource-4.5.1-mingw"
and after installation I reconfigured Qt for vs in the Qt command window
"configure -platform win32-msvc2008"
and
"nmake"

In VS I set the "Qt options" Qt version to 4.5.1.
After this all worked fine.