[webkit-help] FontQt.cpp:172: error: 'TextBypassShaping' is not a member of 'Qt'

Osztrogonac Csaba oszi at inf.u-szeged.hu
Tue Mar 22 05:28:28 PDT 2011


Hi,

TextBypassShaping introduced in Qt 4.7.0, it seems you
should update your Qt. Qt 4.7.2 is the latest release.

br,
Ossy

william.lei at alitech.com írta:
> 
> Hi
>      Now I am trying to build QT for Webkit as following steps
>       1. Download source code from svn as
>                 svn checkout 
> http://svn.webkit.org/repository/webkit/trunk WebKit
>       2. Compiling QTWebkit as
>                 QTDIR=/usr/share/qt4/ 
> WebKit/WebKitTools/Scripts/build-webkit --qt
>      Then I will face following errors:
> ../../../Source/WebCore/platform/graphics/qt/Fontqt.cpp:172: error: 
> 'TextBypassShaping' is not a member of 'Qt'
> ../../../Source/WebCore/platform/graphics/qt/Fontqt.cpp:181: error: 
> 'TextBypassShaping' is not a member of 'Qt'
> ../../../Source/WebCore/platform/graphics/qt/Fontqt.cpp:198: error: no 
> matching function for call to 'QFontMetrics::width(QString&, int, int&)'
> ....
>         Can anyone help me?
> Regards
> William Lei


More information about the webkit-help mailing list