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

Qt5GuiConfigExtras.cmake can contain hardcoded paths to OpenGL dependencies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.1
    • 5.14.2
    • Build System
    • None
    • Linux/Other display system
    • 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

            jbornema Joerg Bornemann
            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