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

qmake sets wrong rpath for examples outside of qtbase

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 RC
    • 5.6.0 Alpha
    • Build System
    • None
    • d8cfa6a144e7c592c7b9d77f01bbcd3f57617b33

    Description

      This assumes an in-source build of Qt with the following configure options (on Linux):

      -confirm-license -developer-build -opensource -debug -nomake tests -nomake examples -silent
      

      Using the mapviewer example in qtlocation/examples/location/mapviewer, the rpath is not correctly set by qmake. It is set to

      >Library runpath: [$ORIGIN/../../../lib]

      This translated to qtlocation/lib which is incorrect.

      Every example (outside of qtbase) that sets target.path is broken because if the wrong rpath.

      The patch that introduced this bug was https://codereview.qt-project.org/#/c/121399/

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              ablasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes