Building Qt 5.0.1 - VS2012



  • Hello,

    im having problems compiling qt5.0.1.

    Perl and Python are installed.

    This is my Configure line:

    configure -developer-build -opensource -nomake examples -nomake tests -platform win32-msvc2012

    After completing configuration i start comilation with nmake.

    Then after 30 Secs i get an Error:

    "fatal error C1083: Cannot open include file: '/qt-everywhere-opensource-src-5.0.1/qtbase/src/xml/dom/qdom.h': Invalid argument NMAKE: fatal error U1077: 'C:....\VC\Bin\nmake.exe"

    I have no idea whats wrong with the qdom.h file, its there, its not opened by app like notepad.

    Any idea whats wrong?
    (I succesfully compiled qt 5.0.0 2 months ago, so im wondering)



  • Windows CE..............no
    Windows Mobile..........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:\Qt\qt-5.0.1\5.0.1\qtbase
    Build is done in............C:\Qt\qt-5.0.1\5.0.1\qtbase
    Install prefix..............C:\Qt\qt-5.0.1\5.0.1\qtbase
    Headers installed to........C:\Qt\qt-5.0.1\5.0.1\qtbase\include
    Libraries installed to......C:\Qt\qt-5.0.1\5.0.1\qtbase\lib
    Arch-dep. data to...........C:\Qt\qt-5.0.1\5.0.1\qtbase
    Plugins installed to........C:\Qt\qt-5.0.1\5.0.1\qtbase\plugins
    Library execs installed to..
    QML1 imports installed to...C:\Qt\qt-5.0.1\5.0.1\qtbase\imports
    QML2 imports installed to...C:\Qt\qt-5.0.1\5.0.1\qtbase\qml
    Binaries installed to.......C:\Qt\qt-5.0.1\5.0.1\qtbase\bin
    Arch-indep. data to.........C:\Qt\qt-5.0.1\5.0.1\qtbase
    Docs installed to...........C:\Qt\qt-5.0.1\5.0.1\qtbase\doc
    Translations installed to...C:\Qt\qt-5.0.1\5.0.1\qtbase\translations
    Examples installed to.......C:\Qt\qt-5.0.1\5.0.1\qtbase\examples
    Tests installed to..........C:\Qt\qt-5.0.1\5.0.1\qtbase\tests

    Generating Makefiles...

    Qt is now configured for building. Just run nmake.
    To reconfigure, run nmake confclean and configure.

    C:\Qt\qt-5.0.1\5.0.1\qtbase>nmake

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

    ...

    qjson.cpp
    qjsondocument.cpp
    qjsonobject.cpp
    qjsonarray.cpp
    qjsonvalue.cpp
    qjsonparser.cpp
    qjsonwriter.cpp
    Generating Code...
    cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -DUNICO
    DE -DWIN32 -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_COD
    ECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT
    _NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT
    NO_TRANSLATION -DQT_QMAKE_LOCATION="C:/Qt/qt-5.0.1/5.0.1/qtbase/bin/qmake" -D
    QT_NO_CAST_FROM_ASCII -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST

    WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_D
    ISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_NO_EXCEPTIONS -DQT_NO
    _DEBUG -I"......\include" -I"......\include\QtCore" -I"......\include\QtCo
    re\5.0.1" -I"......\include\QtCore\5.0.1\QtCore" -I"......\include\QtXml" -I
    "C:\Qt\qt-5.0.1\5.0.1\qtbase\include\QtXml\5.0.1" -I"C:\Qt\qt-5.0.1\5.0.1\qtbase
    \include\QtXml\5.0.1\QtXml" -I"tmp" -I"....\corelib\global" -I"....\3rdparty\z
    lib" -I"......\mkspecs\win32-msvc2010" -Fo.obj\release_shared\ @C:\Users\thday
    AppData\Local\Temp\nm8DF2.tmp
    qdom.cpp
    ......\include\QtXml\qdom.h(1) : fatal error C1083: Cannot open include file:
    '../../../../../../../c:/Qt/qt-5.0.1/5.0.1/qtbase/src/xml/dom/qdom.h': Invalid a
    rgument
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
    \VC\BIN\cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
    \VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    C:\Qt\qt-5.0.1\5.0.1\qtbase>


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.