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

Qt5 applications which uses QtWebkit cannot be deployed to Mac OS X 10.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.1.0 RC1
    • 5.0.2
    • WebKit
    • None
    • Mac OS X
    • macOS
    • d5354b70cec297bc17b3fe9df84cb0f4977bab8d

      Qt applications which uses QtWebkit can't be launched on Mac OS X 10.6 due the missing webkit symbol. Bug report from this issue can be found from the attachments.

      This symbol failure happens probably because Qt determines the used library
      using the Darwin version instead of detecting the sdk used. I also attach the patch Qt Support has made (Qt4 patch) for XCode 4.3.x or better as a reference.

      Here's an code snippet taken from the WebCore.pri...

      .. snip ..
       DARWIN_MAJOR_VERSION = $$first(DARWIN_VERSION)
              equals(DARWIN_MAJOR_VERSION, "12") {
                  LIBS += $${ROOT_WEBKIT_DIR}/WebKitLibraries/libWebKitSystemInterfaceMountainLion.a
              } else:equals(DARWIN_MAJOR_VERSION, "11") {
                  LIBS += $${ROOT_WEBKIT_DIR}/WebKitLibraries/libWebKitSystemInterfaceLion.a
              } else:equals(DARWIN_MAJOR_VERSION, "10") {
                  LIBS += $${ROOT_WEBKIT_DIR}/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a
              } else:equals(DARWIN_MAJOR_VERSION, "9") {
                  LIBS += $${ROOT_WEBKIT_DIR}/WebKitLibraries/libWebKitSystemInterfaceLeopard.a
              }
      .. snip ..
      

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

            shausman Simon Hausmann
            qtcomsupport Qt Support
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes