If you build Qt4 as per the latest book, which includes installing qtwebkit, everything is fine.
If for some reason you want to compile Qt4 again, it will fail with qtwebkit installed - even if you include -no-webkit in the configure.
I did this to create a binary tarfile and I had to remove qtwebkit to get it to compile; then reinstall qtwebkit at the end.
Just a heads up in case someone else experiences this quirky little 'feature'