Anyone built 5.2 beta on MacOS 10.9 with Xcode 5?
-
I couldn't, because the QtWebkit module can't find CFNumber.h
I looked deeper, it seems that QtWebkit module tries to load CoreFundation framework from /System/Library/Frameworks/...
but their is no headers there. The correct location should be /Application/XCode5.1/Content/Developer/...
This must be due to some recent change of Mac OS and xcode, but this problem only happens on the QtWebkit module. I could build QtBase for example.
Also, I tried to disable the webkit module via configure, it is said on line that I could use -no-webkit, or --no-webkit. I tried both, didn't work?
Can you build Qt on a clean installed MAc 10.9 with Xcode 5?
-
Hi,
To avoid building webkit if you already downloaded it, you can just remove the folder containing it.
-
This was fixed recently by this commit:
https://qt.gitorious.org/qt/qtwebkit/commit/dddffcaa55bd617159b77e48031e81ef464b358b
I guess when Qt 5.2 finally comes out that fix will be in it. For now, if you've downloaded Qt 5.2.0 beta and want to compile it with webkit you could apply that patch:
@cd ~/build/qt-everywhere-opensource-src-5.2.0-beta1
curl -o fix-webkit.patch https://qt.gitorious.org/qt/qtwebkit/commit/dddffcaa55bd617159b77e48031e81ef464b358b.patch
cd qtwebkit
patch -p1 < ../fix-webkit.patch@It should then build normally with configure.