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

qmake.conf for raspberry pi3 is malformed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.4
    • 5.12.3
    • Build System
    • None
    • f36a306563b4e77e4c64884382da22f3412708a0

    Description

      The qtbase/mkspecs/devices/linux-rasp-pi3-g++/qmake.conf seems to have a few wrong lines:

       

      VC_LIBRARY_PATH = /opt/vc/lib
      VC_INCLUDE_PATH = =/opt/vc/include
      VC_LINK_LINE = -L=$${VC_LIBRARY_PATH}
      QMAKE_LIBDIR_OPENGL_ES2 = =$${VC_LIBRARY_PATH}
      

       

      should be

       

      VC_LIBRARY_PATH = $$[QT_SYSROOT]/opt/vc/lib
      VC_INCLUDE_PATH = $$[QT_SYSROOT]/opt/vc/include
      VC_LINK_LINE = -L$${VC_LIBRARY_PATH}
      QMAKE_LIBDIR_OPENGL_ES2 = $${VC_LIBRARY_PATH}
      

      otherwise the configure won't be able to detect EGL using the default broadcom stack configuring a cross-compiling environment.

       

       

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            mewster Fra Ga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes