[Qt-interest] Qt build problem on Win7pro

Carl Snellman carl.snellman at gmail.com
Fri Jun 4 08:24:34 CEST 2010


Hello all,

I cloned the master qt repo and I'm trying to compile it on Win7 Pro,
but no luck. These are the steps I'm doing:

<cloned repo>
<renamed folder "qt" to "qt-4.7.0-20100603">
C:\Users\csnellman\qt-4.7.0-20100603>configure -developer-build -platform win32-
g++
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.
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=
      Unset
    LIB=
      Unset
    PATH=
      C:\Windows\system32
      C:\Windows
      C:\Windows\System32\Wbem
      C:\Windows\System32\WindowsPowerShell\v1.0\
      C:\Program Files (x86)\Git\cmd
      C:\NokiaQtSDK\mingw\bin
      C:\Users\csnellman\qt-4.7.0-20100603\bin
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 C:/Users/csnellman/qt-4.7.0-201006033
 or C:/Users/csnellman/qt-4.7.0-20100603L
Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    build_all
    debug
Qt Configuration:
    private_tests
    release
    debug
    zlib
    png
    accessibility
    qt3support
    opengl
    s60
    ipv6
    script
    scripttools
    xmlpatterns
    phonon
    phonon-backend
    multimedia
    audio-backend
    webkit
    declarative
    native-gestures
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config
QMAKESPEC...................win32-g++ (commandline)
Architecture................windows
Maketool....................mingw32-make
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.........yes
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..............C:\Users\csnellman\qt-4.7.0-20100603
Build is done in............C:\Users\csnellman\qt-4.7.0-20100603
Install prefix..............C:\Users\csnellman\qt-4.7.0-20100603
Headers installed to........C:/Users/csnellman/qt-4.7.0-20100603/include
Libraries installed to......C:/Users/csnellman/qt-4.7.0-20100603/lib
Plugins installed to........C:/Users/csnellman/qt-4.7.0-20100603/plugins
Imports installed to........C:/Users/csnellman/qt-4.7.0-20100603/imports
Binaries installed to.......C:/Users/csnellman/qt-4.7.0-20100603/bin
Docs installed to...........C:/Users/csnellman/qt-4.7.0-20100603/doc
Data installed to...........C:/Users/csnellman/qt-4.7.0-20100603
Translations installed to...C:/Users/csnellman/qt-4.7.0-20100603/translations
Examples installed to.......C:/Users/csnellman/qt-4.7.0-20100603/examples
Demos installed to..........C:/Users/csnellman/qt-4.7.0-20100603/demos
Using internal configuration.
Creating qmake...
g++ -c -oproject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Ige
nerators/mac -Igenerators/symbian -IC:\Users\csnellman\qt-4.7.0-20100603/include
 -IC:\Users\csnellman\qt-4.7.0-20100603/include/QtCore -IC:\Users\csnellman\qt-4
.7.0-20100603/include -IC:\Users\csnellman\qt-4.7.0-20100603/include/QtCore -IC:
\Users\csnellman\qt-4.7.0-20100603/src/corelib/global -IC:\Users\csnellman\qt-4.
7.0-20100603/src/corelib/xml -IC:\Users\csnellman\qt-4.7.0-20100603/mkspecs/win3
2-g++ -IC:\Users\csnellman\qt-4.7.0-20100603/tools/shared -DQT_NO_TEXTCODEC -DQT
_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_N
O_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_
QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_BOOTSTRAPPED -DQMAKE_OPENSO
URCE_EDITION project.cpp
In file included from project.cpp:42:
project.h:45:25: error: qstringlist.h: No such file or directory
project.h:46:25: error: qtextstream.h: No such file or directory
project.h:47:21: error: qstring.h: No such file or directory
project.h:48:20: error: qstack.h: No such file or directory
project.h:49:18: error: qmap.h: No such file or directory
project.h:50:23: error: qmetatype.h: No such file or directory
In file included from property.h:45,
                 from project.cpp:43:
C:\Users\csnellman\qt-4.7.0-20100603/src/corelib/global/qglobal.h:1172:31: error
: QtCore/qfeatures.h: No such file or directory
In file included from project.cpp:44:
option.h:48:19: error: qfile.h: No such file or directory
In file included from project.cpp:45:
cachekeys.h:49:23: error: qfileinfo.h: No such file or directory
cachekeys.h:50:19: error: qhash.h: No such file or directory
In file included from project.cpp:46:
generators/metamakefile.h:47:19: error: qlist.h: No such file or directory
project.cpp:48:23: error: qdatetime.h: No such file or directory
project.cpp:51:18: error: qdir.h: No such file or directory
project.cpp:52:21: error: qregexp.h: No such file or directory
project.cpp:56:20: error: qdebug.h: No such file or directory
........................... snipped off a lot of error lines....
mingw32-make: *** [project.o] Error 1
Building qmake failed, return code 2


I dont have a slightest idea what is causing this, would anyone have any tips?
(Could the forward slashes on line "Headers installed
to........C:/Users/csnellman/qt-4.7.0-20100603/include
" be the one to blame??)

Thanks,
Carl



More information about the Qt-interest-old mailing list