[webkit-qt] QtWebKit with reduced feature set for embedded platforms

İsmail Dönmez ismail at namtrac.org
Thu Apr 8 01:47:48 PDT 2010


On Thu, Apr 8, 2010 at 11:45 AM, Simon Hausmann <simon.hausmann at nokia.com>wrote:

> Hi,
> With Qt for embedded platforms we have the ability to disable various
> features
> in Qt to reduce the library size. The features largely evolve around not
> compiling certain classes, such as QMenu, QColorDialog or QAction, as well
> as
> more general features such as QObject properties.
> The features are controlled using defines, i.e. there's QT_NO_PROPERTIES,
> QT_NO_CONTEXTMENU, QT_NO_PRINTER. We have a few of these in place the code.
> Tasuku has been looking into compiling QtWebKit with less features enabled,
> such as properties and QActions. See
>        https://bugs.webkit.org/show_bug.cgi?id=36529
> and
>        https://bugs.webkit.org/show_bug.cgi?id=36526
> Adding the feature #ifdefs adds a maintenance burden and clutters the code.
> On
> the upside it makes it possible to use QtWebKit in much more restricted
> environments, with limited functionality though.
> What do you guys think about this? Do you feel this is a useful thing to
> have
> and maintain?

I regularly build QtWebKit for WinCE 5.0 which have limited resources but so
far QtWebKit (and Qt itself) peformance is impressive, I define lots of
QT_NO_FOO variables to reduce the library size. I believe this is important
functionality to have and maintain.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100408/95d3bb4a/attachment.html>

More information about the webkit-qt mailing list