Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31141

mingw build fails in qttools

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2: Important
    • Resolution: Done
    • 5.1.0 Beta 1
    • 5.1.0
    • WebKit
    • None
    • Windows 7 64-bit, mingw-w64 GCC-4.8.0
    • Ide88521e4922da89ce49dc4bccbce790e753804e

    Description

      When building Qt5 from git (shadow build) I always has issue with building qttools submodule. It build twice - before QtWebkit and after it. On second building I has errors:

      mingw32-make[5]: Entering directory 'C:/QtSDK/DEVs/work/build-x64/qt-stable/qttools/src/assistant/assistant'
      g++ -Wl,-s -Wl,-subsystem,windows -o ../../../bin/assistant.exe object_script.assistant.Release -lmingw32 -lqtmain -LC:/QtSDK/DEVs/toolchains/mingw64/x86_64-w64-mingw32/lib -Lc:/QtSDK/ported64/lib -Lc:/QtSDK/Qt64-git/databases/firebird/lib -Lc:/QtSDK/Qt64-git/databases/mysql/lib -Lc:/QtSDK/Qt64-git/databases/pgsql/lib -Lc:/QtSDK/Qt64-git/databases/oci/lib -lshell32 -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qtwebkit/lib -lQt5WebKitWidgets -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qtdeclarative/lib -lQt5Quick -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qtmultimedia/lib -lQt5MultimediaWidgets -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qttools/lib -lQt5Help -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qtbase/lib -lQt5OpenGL -lQt5PrintSupport -lQt5WebKit -lQt5Qml -lQt5Multimedia -lQt5Widgets -lQt5Sql -lQt5Network -lQt5Gui -lQt5Core -llibEGL -llibGLESv2 -lgdi32 -luser32 .obj/release_shared/assistant_res.o 
      ./.obj/release_shared/helpviewer_qwv.o:helpviewer_qwv.cpp:(.text+0x14d7): undefined reference to `HelpViewer::copyAvailable(bool)'
      ./.obj/release_shared/helpviewer_qwv.o:helpviewer_qwv.cpp:(.text+0x14f7): undefined reference to `HelpViewer::backwardAvailable(bool)'
      ./.obj/release_shared/helpviewer_qwv.o:helpviewer_qwv.cpp:(.text+0x1517): undefined reference to `HelpViewer::forwardAvailable(bool)'
      c:/qtsdk/devs/toolchains/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.obj/release_shared/helpviewer_qwv.o: bad reloc address 0x0 in section `.pdata'
      collect2.exe: error: ld returned 1 exit status
      Makefile.Release:198: recipe for target '../../../bin/assistant.exe' failed
      

      It fixed by cleaning qttools folder and start building again.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            net147 Jonathan Liu
            alexpux Alexey Pavlov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes