Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error in static Qt 4.7.3 compile with MSVC 2010.
Qt 6.12 LTS is out! See what's new in the release blog

Error in static Qt 4.7.3 compile with MSVC 2010.

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zither
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zither
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt
        • Unsolved