Hello,
I would like to use webkit in my Qt apps so I read your blog post and did the following:
1. Create a new Folder called "WK" on my desktop and go to that directory in the terminal.
2. svn checkout svn://anonsvn.opensource.apple.com/svn/webkit/trunk WebKit
3. WebKit/WebKitTools/Scripts/build-webkit
4. It builds. So far so good.
5. I go to "/Users/XXX/Desktop/WK/WebKit/WebKitQt/QtLauncher".
6. I do qmake -spec macx-xcode to create my xcode file.
7. I open the xcode file and build but then I almost get all the way thru but get this error:
cd /Users/xxx/Desktop/WK/WebKit/WebKitQt/QtLauncher
/usr/bin/g++-4.0 -o /Users/xxx/Desktop/WK/WebKit/WebKitQt/QtLauncher/build/Debug/QtLauncher.app/Contents/MacOS/QtLauncher -L/Users/xxx/Desktop/WK/WebKit/WebKitQt/QtLauncher/build/Debug -F/Users/xxx/Desktop/WK/WebKit/WebKitQt/QtLauncher/build/Debug -F/Library/Frameworks -filelist /Users/xxx/Desktop/WK/WebKit/WebKitQt/QtLauncher/build/QtLauncher.build/Debug/QtLauncher.build/Objects-normal/i386/QtLauncher.LinkFileList -framework QtGui -framework Carbon -framework QuickTime -framework AppKit -framework QtCore -framework ApplicationServices -arch i386 -Wl,-Y,1455 -headerpad_max_install_names -F/Library/Frameworks -L/Library/Frameworks -L/Users/xxx/Desktop/WK/WebKit/WebKitBuild/Release/lib -lWebKitQt -L/opt/local/lib -lxml2 -lxslt -lz -lm -liconv
/usr/bin/ld: warning -L: directory name (/Users/xxx/Desktop/WK/WebKit/WebKitBuild/Release/lib) does not exist
/usr/bin/ld: warning -L: directory name (/opt/local/lib) does not exist
/usr/bin/ld: can't locate file for: -lWebKitQt
collect2: ld returned 1 exit status
I have not touched anything else in the WebKit SVN download.
Do you have any idea why I can not compile?
I am on an intel Mac Pro running OS X 10.4.8 and Qt 4.2.2.
Also, how does WebKitQt work with "Static" Qt apps I make?
Does the WebKit engine get included into the static binary?
thanks!