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

Qt5.10 on Mac OS X does not link the correct QtWebKit and QtWebKitWidgets if -prefix is specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.1.0
    • None
    • Mac OS X 10.8.x (probably other OS X versions affected, too)
    • macOS

      For reference, see https://github.com/mxcl/homebrew/issues/20020

      Is has been reported to us (at Homebrew) and we confirmed that building Qt5 in a temp dir with the `-prefix=/another/dir` Qt5 will still link to libs in that temp dir for some WebKit components.

      If you run `xcrun otool -L QtWebProcess` you'll see that all except the `QtWebKitWidgets` are linked correctly to the lib at the prefix.

      Same is true for `qml/QtWebKit/libqmlwebkitplugin.dylib` which also links to QtWebKit in the (temp) build dir and not the one in the prefix.

      A workaround is to call `install_name_tool` as a user has reported.
      https://github.com/mxcl/homebrew/issues/20020?source=c#issuecomment-20949450

      Do you have a suggestion for us how to quick/fix/patch this other than calling install_name_tool after installation?

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

            jturcott Jocelyn Turcotte
            samueljohn qt@samueljohn.de
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes