Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20240

Settings: Add library paths to run environment, can cause problem with DYLD_LIBRARY_PATH

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.6.0
    • macOS
    • 4ab7c19e848701b666a720d85bf5b63fa34a2ce6

    Description

      Using qbs project.

      Build & Run -> Run settings -> 'Add library paths to run environment'

      Previous versions of QtCreator did not add library paths from modules into DYDL_LIBRARY_PATH ( only qtlib path install-root and i dont know )

      QtCrator 4.6.0 is adding  libraries added using modules or cpp.libraryPaths into DYLD_LIBRARY_PATH which can cause trouble. ( e.g. jpeglib-turbo )

       

      It changes behavior, but moreover having many unittest it is imposible to revert to previous behavior having DYLD_LIBRARY_PATH like in 4.5.x QtCreator.

       

      Only way to disable this behaviour is to uncheck this settings and it works, but It means uncheck all unittests apps etc. which is anoying and after some time ( changing settings etc ) it is checked again, which makes it unusable.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-20240
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            fbucek fbucek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes