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

Unable to build QtWayland on Raspberry Pi

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.10.1
    • QPA: Wayland
    • None
    • Raspbian Stretch

    Description

      The qt_brcm_interface method is completely missing in Qt 5.10.1

      This is a grep on the whole 5.10.1 sources:

      14:27:15:massimo:qt-everywhere-src-5.10.1 > grep -r qt_brcm_interface * 
      qtwayland/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp:        integration->m_waylandBrcm = static_cast<struct qt_brcm *>(wl_registry_bind(registry, id, &qt_brcm_interface, 1));
      14:28:34:massimo:qt-everywhere-src-5.10.1 >

      And this is the error I get while building on the Raspberry Pi:

      make[4]: Entering directory '/home/pi/qtwayland-everywhere-src-5.10.1/src/plugins/platforms/qwayland-brcm-egl' 
      /usr/bin/g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/ -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WAYLANDCLIENT_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_EGL_SUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../hardwareintegration/client/brcm-egl -I../../../../include/QtWaylandClient/5.10.1 -I../../../../include/QtWaylandClient/5.10.1/QtWaylandClient -I../../../../include -I../../../../include/QtWaylandClient -I/opt/qt5-rpi/include -I/opt/qt5-rpi/include/QtServiceSupport -I/opt/qt5-rpi/include/QtServiceSupport/5.10.1 -I/opt/qt5-rpi/include/QtServiceSupport/5.10.1/QtServiceSupport -I/opt/qt5-rpi/include/QtEglSupport -I/opt/qt5-rpi/include/QtEglSuppo
      rt/5.10.1 -I/opt/qt5-rpi/include/QtEglSupport/5.10.1/QtEglSupport -I/opt/qt5-rpi/include/QtGui/5.10.1 -I/opt/qt5-rpi/include/QtGui/5.10.1/QtGui -I/opt/qt5-rpi/include/QtGui -I/opt/qt5-rpi/include/QtCore/5.10.1 -I/opt/qt5-rpi/include/QtCore/5.10.1/QtCore -I/opt/qt5-rpi/include/QtCore -I.moc -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/qt5-rpi/mkspecs/devices/linux-rasp-pi-g++ -o .obj/qwaylandbrcmeglintegration.o ../../../hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp 
      ../../../hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp: In static member function ‘static void QtWaylandClient::QWaylandBrcmEglIntegration::wlDisplayHandleGlobal(void*, wl_registry*, uint32_t, const QString&, uint32_t)’: 
      ../../../hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp:66:100: error: ‘qt_brcm_interface’ was not declared in this scope 
               integration->m_waylandBrcm = static_cast<struct qt_brcm *>(wl_registry_bind(registry, id, &qt_brcm_interface, 1)); 
                                                                                                          ^~~~~~~~~~~~~~~~~ 
      Makefile:1199: recipe for target '.obj/qwaylandbrcmeglintegration.o' failed

      Looks like the symbol is missing or has been renamed, and nobody tried to build on a RPi since then.

      How to fix ?

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            mcallegari79 Massimo Callegari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes