Error in static Qt 4.7.3 compile with MSVC 2010.



  • Dear all,

    I try to make static compile of Qt 4.7.3 with MSVC 2010, but fail
    cflags: -O1 -GL -MD

    Qt configuration:
    -release -qt-libjpeg -qt-zlib -qt-libpng -nomake examples -nomake demos -no-exceptions -no-stl -no-rtti -no-qt3support -no-scripttools -no-openssl -no-opengl -no-webkit -no-phonon -no-style-motif -no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite -platform win32-msvc2010 -static

    Error
    @ C:\Qt\QtSources\msvc-4.7.3-static\bin\moc.exe -DQT_THREAD_SUPPORT -DUNIC
    ODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyy
    lex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_
    NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_NO_CAST_TO_ASCII -D
    QT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST
    CONCATENATION -D_USE_MATH_DEFINES -DBUILDING_QT_=1 -DWTF_USE_ACCELERATED_COMPO
    SITING -DUSE_SYSTEM_MALLOC -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore -D
    BUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_N
    O_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE
    -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_DYNAMIC_CAST @tmp\moc\release_static/mo
    cinclude.tmp -D_MSC_VER=1600 -DWIN32 api\qscriptextensionplugin.h -o tmp\moc\release_static\moc_qscriptextensionplugin.cpp
    api\qscriptextensionplugin.h(43): Error: Undefined interface
    NMAKE : fatal error U1077: 'C:\Qt\QtSources\msvc-4.7.3-static\bin\moc.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.@

    Thanks



  • Do you compile from Qt SDK sources or from a source tarball / gitorious? The former ones are usually not suitable for compiling Qt.



  • No, I download it from this site.

    My other libs are also 4.7.3. So, I don't change to 4.7.4

    Thanks


Log in to reply
 

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