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

Qt5GuiConfigExtras.cmake can contain hardcoded paths to OpenGL dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.14.2
    • Fix Version/s: 5.15.1
    • Component/s: Build System
    • Labels:
      None
    • Platform/s:
      Linux/Other display system
    • Commits:
      786ae0141a524c66e01e652aed0e6ed4c97d08bc (qt/qtbase/5.15)

      Description

      The function cmakePortablePaths from cmake_functions.prf will prepend $$[QT_SYSROOT], which is the absolute paths now configured. When relocating the build afterwards this will still point to the old location. One may end up with things like this:

      _qt5gui_find_extra_libs(EGL "EGL" "" "/opt/emlix/test/sysroot/usr/include/libdrm")
      

      All other paths are resolved relative to the CMake files to make things relocatable, this one should probably do the same.

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            rebemlix Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes