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

Qt Creator should disable setting DYLD_LIBRARY_PATH with Homebrew Qt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 14.0.0
    • None
    • macOS

    Description

      Qt Creator by default checks the "Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH" button on macOS.

      This is not compatible apparently with the way homebrew ships things: https://github.com/orgs/Homebrew/discussions/5420

      This leads to new users building basic apps with Qt from homebrew and getting crashes (and immediately concluding that Qt does not work / is not a viable platform for making their app in). See also this long forum discussion: https://forum.qt.io/topic/135220/random-application-crash-on-apple-silicon-m1-qt-6-2-3/66

      It would be great if Qt Creator did detect that if a kit is using homebrew-provided Qt (basically simply by looking if "homebrew" or "Cellar" is in the Qt path), then by default not check this checkbox when loading the project ; it doesn't prevent the app to run and the user can always check it afterwards.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            jcelerier Jean-Michaƫl Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes