On Wednesday, 15 de December de 2010 15:13:51 Stylianou, Costas wrote: > Hi, > Is there a way to differentiate for the MeeGo platform when writing code in > Qt?
No. MeeGo is standard X11.
>
> E.g. if writing for Symbian, we can use
> #ifdef Q_OS_SYMBIAN
> or
> #ifdef Q_WS_S60
> in my source code.
> And I can use:
> symbian {
> symbian stuff here
> }
> in the .PRO file...
For MeeGo, you can use:
#ifdef Q_OS_UNIX
#ifdef Q_OS_LINUX
#ifdef Q_WS_X11
and in the .pro files:
unix { ... }
linux-* { ... }
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
