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

QML plugins have wrong RUNPATH if CMake var INSTALL_QMLDIR is changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.0, 6.6.0
    • 6.4.2, 6.5.0 Beta3
    • Build System: CMake
    • None
    • Linux/Wayland, Linux/X11
    • 80ad280d2 (dev), cb4ae3958 (6.5), 070cea258 (6.4)

    Description

      If the CMake variable "INSTALL_QMLDIR" is changed from the default "qml" directory to a subdirectory such as "res/archdatadir/qml", the RUNPATH of each qml plugin is incorrect.

      For example, the RUNPATH for libqtquick2plugin.so points to [$ORIGIN/../../lib], but [$ORIGIN/../../../../lib] would be correct.

      Attachments

        For Gerrit Dashboard: QTBUG-111381
        # Subject Branch Project Status CR V

        Activity

          People

            semlanik Alexey Edelev
            tereius Bjoern S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes