Details
Description
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 ..
Attachments
Issue Links
- relates to
-
QTBUG-30764 Can't compile QtWebkit on MacOS for SDK
- Closed