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

Can't compile QtWebkit on MacOS for SDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.1.0
    • 5.0.2
    • WebKit
    • None
    • macOS
    • fedafb702ebf6bd384e32eddda377e659f09326d

      I use MacOS 10.8.2. Qt was built for SDK MacOS 10.7. So then i tried to build webkit and got linking error against libWebKitSystemInterfaceMountainLion.a. For SDK 10.7 must be used libWebKitSystemInterfaceLion.a. I obtained WebCore.pri. So problem with Source/WebCore/WebCore.pri

              # We can know the Mac OS version by using the Darwin major version
              DARWIN_VERSION = $$split(QMAKE_HOST.version, ".")
              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
              }
      

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

            vestbo Tor Arne Vestbø
            taurus Ivan Romanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes