Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1379

rpath for Qt libraries should not contain sysroot when cross-building

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 1.12.0
    • Libraries: Qt
    • None
    • KDE Neon 16.04, building for yocto-based embedded linux (i.MX6)
    • Linux/X11, Linux/Other display system

    Description

      Building a Qt application for embedded linux using a linux host computer, my Qbs profile has the qbs.sysroot property set:

      /my/toolchain/sysroot

      The Qt libraries used are placed in

      /my/toolchain/sysroot/opt/qt/lib
      

      When building this, the binary has the following rpath set automatically:

      /my/toolchain/sysroot/opt/qt/lib
      

      This makes no sense on the target device, and should rather have been stripped of the sysroot path so that the rpath we get is:

      rpath: /opt/qt/lib

       

       

      Attachments

        For Gerrit Dashboard: QBS-1379
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            olathorsen Ola Røer Thorsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change