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

eglfs - fail to detect eglfs-brcm & compile eglfs-plugin for Rasp-Pi

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8
    • 5.5.0
    • Build System, Core: Plugins
    • None
    • Cross compilation for rasp-pi using buildroot

    Description

      Detection & Compilation of eglfs fail for Rasp-Pi due to the lake of include path for broadcom specifics.

      Proposed patch attached.

      eglfs-brcm detection log :

      eglfs-brcm auto-detection... ()
      make[1]: Entering directory '/home/build/buildroot-rpi/output/build/qt5base-5.5.0/config.tests/qpa/eglfs-brcm'
      /home/build/buildroot-rpi/output/host/usr/bin/arm-linux-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os --sysroot=/home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot -O2 -O3 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-buildroot-g++ -o eglfs-brcm.o eglfs-brcm.cpp
      In file included from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/interface/vcos/vcos_assert.h:149:0,
                       from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/interface/vcos/vcos.h:114,
                       from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/interface/vmcs_host/vc_dispmanx.h:33,
                       from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/EGL/eglplatform.h:110,
                       from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/EGL/egl.h:36,
                       from eglfs-brcm.cpp:34:
      /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: Aucun fichier ou dossier de ce type
       #include "vcos_platform_types.h"
                                       ^
      compilation terminated.
      Makefile:203: recipe for target 'eglfs-brcm.o' failed
      make[1]: *** [eglfs-brcm.o] Error 1
      make[1]: Leaving directory '/home/build/buildroot-rpi/output/build/qt5base-5.5.0/config.tests/qpa/eglfs-brcm'
      eglfs-brcm disabled.
      

      eglfs-plugin compilation log:

      /home/build/buildroot-rpi/output/build/qt5base-5.5.0/bin/qmake -o Makefile.eglfs-plugin eglfs-plugin.pro
      /home/build/buildroot-rpi/output/host/usr/bin/arm-linux-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os --sysroot=/home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot -O2 -O3 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_EGLFS_DEVICE_LIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include -I../../../../include/QtPlatformSupport -I../../../../include/QtPlatformSupport/5.5.0 -I../../../../include/QtPlatformSupport/5.5.0/QtPlatformSupport -I../../../../include/QtGui/5.5.0 -I../../../../include/QtGui/5.5.0/QtGui -I/home/build/buildroot-rpi/output/build/qt5base-5.5.0/include/QtQGui -I../../../../include/QtGui -I../../../../include/QtCore/5.5.0 -I../../../../include/QtCore/5.5.0/QtCore -I../../../../include/QtCore -I.moc -isystem /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include -I../../../../mkspecs/devices/linux-buildroot-g++ -o .obj/qeglfsmain.o qeglfsmain.cpp
      In file included from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/interface/vcos/vcos_assert.h:149:0,
                       from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/interface/vcos/vcos.h:114,
                       from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/interface/vmcs_host/vc_dispmanx.h:33,
                       from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/EGL/eglplatform.h:110,
                       from /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/EGL/egl.h:36,
                       from ../../../../include/QtPlatformSupport/5.5.0/QtPlatformSupport/private/../../../../../src/platformsupport/eglconvenience/qeglplatformintegration_p.h:51,
                       from ../../../../include/QtPlatformSupport/5.5.0/QtPlatformSupport/private/qeglplatformintegration_p.h:1,
                       from qeglfsintegration.h:37,
                       from qeglfsmain.cpp:35:
      /home/build/buildroot-rpi/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: Aucun fichier ou dossier de ce type
       #include "vcos_platform_types.h"
                                       ^
      compilation terminated.
      Makefile.eglfs-plugin:956: recipe for target '.obj/qeglfsmain.o' failed
      

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            corjon.j@ecagroup.com Julien Corjon
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes