PDA

View Full Version : Qt 4.3.4 installation problem.



abrou
1st May 2008, 18:42
Hello,

I am trying to install Qt 4.3.4 on a computer using Visual Studio 2008 Express.

I found two tutorials online, but I am having difficulty installing it.

I have run the vsvars32.bat, but when i execute "configure" from the prompt window (I am using the Visual Studio command window), instead of telling me to run nmake, it tells me to run mingw32-make. If I run that, I get an error, if I try to run nmake, I get another error.

Below is the environment variables as seen when I run configure:


Environment:
INCLUDE=
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include

LIB=
C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB
C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib
C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB
C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib

PATH=
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
C:\WINDOWS\Microsoft.NET\Framework\v3.5
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
C:\WINDOWS\Microsoft.NET\Framework\v3.5
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\QuickTime\QTSystem\
c:\Program Files\Microsoft SQL Server\90\Tools\binn\
QTDIR=C:\QtSource\bin
C:\Python23
C:\Python23\Scripts
C:\Python23\Enthought\MingW\bin
C:\Python23\Enthought\SWIG-1.3.21
C:\Qt\4.3\bin
C:\Program Files\Microsoft Visual Studio 9.0\VC\bin


This is the error I get when I run nmake:

NMAKE : fatal error U1073: don't know how to make 'c:/Program\'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

I appreciate your help,

Anna

jacek
1st May 2008, 20:19
Do you pass any flags to configure?

When you run configure it should output Qt's configuration. What is the build type?

abrou
1st May 2008, 21:01
I did not pass any flags to configure.

This is what appears after the information that I gave in my last post:


Configuration:
minimal-config
small-config
medium-config
large-config
full-config
build_all
debug
Qt Configuration:
release
debug
zlib
png
accessibility
qt3support
opengl
ipv6
minimal-config
small-config
medium-config
large-config
full-config

QMAKESPEC...................win32-g++ (detected)
Architecture................windows
Maketool....................mingw32-make
Debug symbols...............yes
Accessibility support.......yes
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................no
3DNOW support...............no
SSE support.................no
SSE2 support................no
OpenGL support..............yes
Direct3D support............no
OpenSSL support.............no
QDBus support...............no
Qt3 compatibility...........yes

Third Party Libraries:
ZLIB support............qt
GIF support.............plugin
TIFF support............plugin
JPEG support............plugin
PNG support.............qt
MNG support.............plugin

Styles:
Windows.................yes
Windows XP..............yes
Windows Vista...........yes
Plastique...............yes
Cleanlooks..............yes
Motif...................yes
CDE.....................yes

Sql Drivers:
ODBC....................no
MySQL...................no
OCI.....................no
PostgreSQL..............no
TDS.....................no
DB2.....................no
SQLite..................plugin (qt)
SQLite2.................no
InterBase...............no

Sources are in..............C:\Qt\4.3
Build is done in............C:\Qt\4.3
Install prefix..............C:\Qt\4.3
Headers installed to........C:/Qt/4.3/include
Libraries installed to......C:/Qt/4.3/lib
Plugins installed to........C:/Qt/4.3/plugins
Binaries installed to.......C:/Qt/4.3/bin
Docs installed to...........C:/Qt/4.3/doc
Data installed to...........C:/Qt/4.3
Translations installed to...C:/Qt/4.3/translations
Examples installed to.......C:/Qt/4.3/examples
Demos installed to..........C:/Qt/4.3/demos

Thanks!

jacek
1st May 2008, 21:20
QMAKESPEC...................win32-g++ (detected)
This means that Qt will use MinGW toolchain. Pass "-platform win32-msvc" option to configure.

abrou
1st May 2008, 21:41
It is finally starting to compile! We'll see how it goes.

I would like to thank you jacek, and everyone else on this forum who has helped me. Not only have people always had an answer, but they are almost always kind and patient. I imagine that a person more experienced than me in Qt, and programming in general, might get impatient, but as I am only learning, I really appriciate the patience of those who have helped me.

Again, thank you.

Anna