[webkit-qt] Qt Webkit Build Font Error on OSX

Osztrogonac Csaba oszi at inf.u-szeged.hu
Tue Aug 10 15:38:18 PDT 2010


Your qt4-mac-devel port contains old Qt-4.7, AFAIK
Qt-4.7 beta2 which doesn't have this necessary patch:

branch: 4.7
commit 6d5655089fa4e2231a1a8edc98ecbb6b29e344e1
Author: Tor Arne Vestb? <tor.arne.vestbo at nokia.com>
Date:   Mon Jul 5 17:38:51 2010 +0200

You have four options:
- build a newer Qt-4.7 from trunk: git://gitorious.org/qt/qt.git
- use qt4-mac (with Qt-4.6.3) instead of qt4-mac-devel
- wait for qt4-mac-devel to be updated to Qt-4.7 release
- use WebKit revision older than r64114.


David Pham írta:
> When trying to build Qt Webkit on OSX with:
> ./build-webkit --qt
> I get the following error:
> ../../../WebKit/qt/Api/qwebsettings.cpp: In constructor 'QWebSettings::QWebSettings()':
> ../../../WebKit/qt/Api/qwebsettings.cpp:467: error: 'Fantasy' is not a member of 'QFont'
> ../../../WebKit/qt/Api/qwebsettings.cpp:470: error: 'Cursive' is not a member of 'QFont'
> ../../../WebKit/qt/Api/qwebsettings.cpp:481: error: 'Monospace' is not a member of 'QFont'
> make[2]: *** [obj/debug/qwebsettings.o] Error 1
> make[1]: *** [debug-all] Error 2
> make: *** [sub-WebCore-make_default-ordered] Error 2
> Where is this error originating from?

More information about the webkit-qt mailing list