[webkit-qt] mobile specific features and defines

Simon Hausmann simon.hausmann at nokia.com
Tue Jun 15 07:13:29 PDT 2010


Hi,

In the course of the discussion in

	https://bugs.webkit.org/show_bug.cgi?id=40062

I'm now wondering if we should perhaps replace all the occurences of Q_WS_S60 
and Q_WS_MAEMO5 with #if PLATFORM(QT_MOBILE) or so and _require_ that when 
building WebKit you have to pass something like

    qmake CONFIG+=mobile

in order to get a "mobile" WebKit build.

We _could_ set this configuration automatically for makespecs where we know 
that they're mobile only, such as symbian or maemo5, but otherwise this could 
be an option developers have to provide.

What do you think?


Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100615/9096226c/attachment.bin>


More information about the webkit-qt mailing list