?

Log in

No account? Create an account

WebKit

« previous entry | next entry »
May. 29th, 2007 | 11:30 am

I managed to get WebKitQt to build and run on OS X with
$ QTDIR=/usr/local/qt/4.2.3/ WebKit/WebKitTools/Scripts/build-webkit


For a bit I was stuck on
tmp/CSSGrammar.h:23: error: conflicting declaration 'typedef union WebCore::YYSTYPE WebCore::YYSTYPE'tmp/CSSGrammar.h:23: error: 'WebCore::YYSTYPE' has a previous declaration as 'typedef union WebCore::YYSTYPE WebCore::YYSTYPE'


But once I read Building WebKit Qt on Linux I upgraded OS X 10.4's old version of bison (1.28) to 2.3 it built correctly. (Looks like I needed to delete the build directory after upgrading).

Once built, due to the different way OS X handles looking for libraries, I needed to symlink libWebKitQt.1.dylib to the QtLauncher.app directory.
cd WebKitBuild/Release/WebKitQt/QtLauncher/QtLauncher.app/Contents/MacOS
export DYLD_LIBRARY_PATH=${WebKitHome}/WebKitBuild/${ReleaseOrDebug}/lib


With that you should be able to use the demo QtLauncher webkit browser. (Just remember to put http:// in front of resources you want to browse.)

Now to try and wrap it with PyQt
Tags: ,

Link | Leave a comment | Share

Comments {1}

no, YOUR mom

(no subject)

from: theinfamousmom
date: May. 30th, 2007 12:18 am (UTC)
Link

What will that do when it does it?

BTW, I think your first line of code made my Firefox hiccup.

Reply | Thread