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

B2Qt rpi3 - Wrong cmake content for for target QtGui::GLESv2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.2
    • 5.8.0, 5.9.2
    • Device Creation
    • None

    Description

      The rpi3 glesv2 cmake target is broken as it refer to build machine file location /work/build/...

      in Qt5GuiConfigExtras.cmake. It should use the sysroot file path.

       
      This is wrong:

      _qt5gui_find_extra_libs(EGL "EGL;GLESv2;bcm_host;vchostif;bcm_host;vcos;vchiq_arm" "" "/work/build/build/tmp/sysroots/raspberrypi3/usr/include/interface/vmcs_host/linux;/work/build/build/tmp/sysroots/raspberrypi3/usr/include/interface/vcos/pthreads;/work/build/build/tmp/sysroots/raspberrypi3/usr/include/interface/vmcs_host/linux;/work/build/build/tmp/sysroots/raspberrypi3/usr/include/interface/vcos/pthreads")
      

      This is correct

      _qt5gui_find_extra_libs(EGL "EGL;GLESv2;bcm_host;vchostif;bcm_host;vcos;vchiq_arm" "" "$ENV{SDKTARGETSYSROOT}/usr/include/interface/vmcs_host/linux;$ENV{SDKTARGETSYSROOT}/usr/include/interface/vcos/pthreads;$ENV{SDKTARGETSYSROOT}/usr/include/interface/vmcs_host/linux;$ENV{SDKTARGETSYSROOT}/usr/include/interface/vcos/pthreads")
      

      The same to apply for the OPENGL code path.

      This is blocking me to build GammaRay.

      Attachments

        Issue Links

          Activity

            People

              tuheimon Tuomas Heimonen (Inactive)
              filipe.azevedo Filipe Azevedo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: