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

WebEngine: undefined reference to `QWebChannelAbstractTransport::QWebChannelAbstractTransport(QObject*)'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P1: Critical
    • Resolution: Done
    • 5.13
    • 5.12.4, 5.13.0 Beta4
    • WebEngine
    • None
    • Gentoo Linux
    • Linux/X11

    Description

      After 5b3dfa47 [1], WebEngine builds with WebChannel support enabled fail like so:

      /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /mnt/rokikaru/portage-stuff/builds/portage/dev-qt/qtwebengine-5.13.9999/work/qtwebengine-5.13.9999_build/src/core/release/obj/QtWebEngineCore/web_channel_ipc_transport_host.o:(.data.rel.ro._ZTVN15QtWebEngineCore26WebChannelIPCTransportHostE[_ZTVN15QtWebEngineCore26WebChannelIPCTransportHostE]+0x10): undefined reference to `QWebChannelAbstractTransport::metaObject() const'
      /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /mnt/rokikaru/portage-stuff/builds/portage/dev-qt/qtwebengine-5.13.9999/work/qtwebengine-5.13.9999_build/src/core/release/obj/QtWebEngineCore/web_channel_ipc_transport_host.o:(.data.rel.ro._ZTVN15QtWebEngineCore26WebChannelIPCTransportHostE[_ZTVN15QtWebEngineCore26WebChannelIPCTransportHostE]+0x18): undefined reference to `QWebChannelAbstractTransport::qt_metacast(char const*)'
      /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /mnt/rokikaru/portage-stuff/builds/portage/dev-qt/qtwebengine-5.13.9999/work/qtwebengine-5.13.9999_build/src/core/release/obj/QtWebEngineCore/web_channel_ipc_transport_host.o:(.data.rel.ro._ZTVN15QtWebEngineCore26WebChannelIPCTransportHostE[_ZTVN15QtWebEngineCore26WebChannelIPCTransportHostE]+0x20): undefined reference to `QWebChannelAbstractTransport::qt_metacall(QMetaObject::Call, int, void**)'
      collect2: error: ld returned 1 exit status
      

      1. https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.13&id=5b3dfa470ed7ea40103daa785286ab71fb7aa230

      Attachments

        Issue Links

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

          Activity

            People

              michal Michal Klocek
              chiitoo chiitoo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes