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

qttools 5.15 fails to compile with a linker error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15.1
    • 5.15.0 Beta4
    • Tools: Assistant
    • None
    • Linux/Other display system
    • 3c30956e65a98706d283d44e07fd481a1849f74e

    Description

      It seems to be caused by commit b3cdd63d4bdaea09222fb93ffcd5104a2dc0bf2e

       

      Reverting the commit allows it to build again, otherwise I get

      ```

      g++ Wl,no-undefined -Wl,-O1 -Wl,-enable-new-dtags -Wl,-z,origin -Wl,-rpath,\$ORIGIN/../../lib/x86_64-linux-gnu -shared -o libqquickwidget.so .obj/qquickwidget_plugin.o .obj/qrc_qquickwidget_plugin.o .obj/moc_qquickwidget_plugin.o /srcb$
      mv -f libqwebview.so ../../../../../plugins/designer/libqwebview.so
      make[5]: Leaving directory '/srcbuild/qt5-qttools/src/designer/src/plugins/qwebview'
      g++ -c -include .pch/Qt5DesignerComponents -pipe -Os -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -$
      /usr/bin/ld: .obj/moc_helpviewer.o.data.rel.ro._ZTV10HelpViewer[_ZTV10HelpViewer]+0x110): undefined reference to `HelpViewer::resizeEvent(QResizeEvent*)'
      collect2: error: ld returned 1 exit status
      make[3]: *** [Makefile:274: ../../../bin/assistant] Error 1
      make[3]: Leaving directory '/srcbuild/qt5-qttools/src/assistant/assistant'
      make[2]: *** [Makefile:75: sub-assistant-make_first] Error 2
      make[2]: Leaving directory '/srcbuild/qt5-qttools/src/assistant'
      make[1]: *** [Makefile:57: sub-assistant-make_first] Error 2
      make[1]: *** Waiting for unfinished jobs....

      ```

      Attachments

        1. qtwebkit.patch
          0.4 kB
          Jan Palus
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vgt Eirik Aavitsland
            nerdopolisturfwalker nerdopolis turfwalker
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes