PDA

View Full Version : Problem with the Qt 2010.02 Version



marciobueno
2nd March 2010, 14:45
I am trying to configure this new version to work with Visual Studio 2008, but it generates an error. The 2009.1 version was ok, but every time I run configure (within the Visual Studio 2008 Command Prompt) the following message appears:




Creating makefiles in src...
Generating Visual Studio project files...
execute: Unknown error
(-nodepend)
(-tp)
(vc)
(-spec)
(win32-msvc2008)
(-r)
(F:/Qt/2010.02/qt/projects.pro)
(-o)
(F:/Qt/2010.02/qt)
Qmake failed, return code -1



The full log is:



F:\Qt\2010.02\qt>configure
Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.
o

This is the Qt for Windows Open Source Edition.

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 2.1
or the GNU General Public License (GPL) version 3.

Type '3' to view the GNU General Public License version 3 (GPLv3).
Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
Type 'y' to accept this license offer.
Type 'n' to decline this license offer.

Do you accept the terms of the license?
y
Environment:
INCLUDE=
C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\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\ATLMFC\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:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\system32\wbem
c:\windows\system32\windowspowershell\v1.0
C:\Program Files\MATLAB\R2006a\bin\win32
c:\Program Files\Microsoft SQL Server\90\Tools\binn\
C:\Program Files\TortoiseSVN\bin
F:\qt-4.5.2\bin
C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
C:\Program Files\doxygen\bin
C:\Program Files\CMake 2.6\bin
F:\Qt\2010.02\bin
F:\Qt\2010.02\qt\bin
C:\WinDDK\7600.16385.1\Debuggers
You are licensed to use this software under the terms of the GNU GPL version 3.Y
ou are licensed to use this software under the terms of the Lesser GNU LGPL vers
ion 2.1.
See F:/Qt/2010.02/qt3

or F:/Qt/2010.02/qtL

Configuration:
minimal-config
small-config
medium-config
large-config
full-config
build_all
debug
Qt Configuration:
release
debug
zlib
png
accessibility
qt3support
opengl
s60
ipv6
script
scripttools
xmlpatterns
phonon
phonon-backend
multimedia
audio-backend
webkit
native-gestures
svg
minimal-config
small-config
medium-config
large-config
full-config

QMAKESPEC...................win32-msvc2008 (detected)
Architecture................windows
Maketool....................nmake
Debug symbols...............yes
Link Time Code Generation...no
Accessibility support.......yes
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................yes
3DNOW support...............yes
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............yes
OpenVG support..............no
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......yes
Phonon support..............yes
QtMultimedia support........yes
WebKit support..............yes
Declarative support.........no
QtScript support............yes
QtScriptTools support.......yes
Graphics System.............raster
Qt3 compatibility...........yes

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

Styles:
Windows.................yes
Windows XP..............yes
Windows Vista...........yes
Plastique...............yes
Cleanlooks..............yes
Motif...................yes
CDE.....................yes
Windows CE..............no
Windows Mobile..........no
S60.....................no

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

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

Symbian DEF files enabled...yes
Creating qmake...

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

Creating makefiles in src...
Generating Visual Studio project files...
execute: Unknown error
(-nodepend)
(-tp)
(vc)
(-spec)
(win32-msvc2008)
(-r)
(F:/Qt/2010.02/qt/projects.pro)
(-o)
(F:/Qt/2010.02/qt)
Qmake failed, return code -1

Generating Makefiles...
execute: Unknown error
(-spec)
(win32-msvc2008)
(-r)
(F:/Qt/2010.02/qt/projects.pro)
(-o)
(F:/Qt/2010.02/qt)
Qmake failed, return code -1

F:\Qt\2010.02\qt>

marciobueno
2nd March 2010, 15:27
Problem solved...

The problem was that I was following this instructions: http://portfolio.delinkx.com/files/Qt.pdf and he said to install the Qt SDK...

I installed the Qt Framework only, and it is working now.