[Interest] Is there any macro like Q_OS_SYMBIAN or Q_WS_MAC for Harmattan in Qt 4.7.4 or higher?

Rodrigo Gonçalves de Oliveira rodrigo.golive at gmail.com
Tue May 15 16:29:02 CEST 2012


I use something like this on .pro:
---
contains(MEEGO_EDITION, harmattan): {
    DEFINES += MEEGO_HARMATTAN
    ...
}
---

and on C++ you can test using #MEEGO_HARMATTAN

Att,
Rodrigo Oliveira

On Tue, May 15, 2012 at 8:18 AM, Yang Fan <missdeer at gmail.com> wrote:
> Hi list,
> I'm searching the internet for my question then found your blog. I want to
> know if there is any macro like Q_OS_SYMBIAN or Q_WS_MAC for Harmattan in Qt
> 4.7.4 or higher? I have tried Q_WS_MEEGO and Q_WS_MAEMO_6 directly, or
> defined the macros in .pro file in the maemo6/meego section, but none of
> them could work.
> Waiting for your reply.
>
> Thanks,
> Fan
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



-- 
Rodrigo Gonçalves de Oliveira
Manaus, Brazil
rodrigo.golive at gmail.com | rodrigo at thecoreme.org
+55 92 82599445
http://br.linkedin.com/in/rodrigogoliveira



More information about the Interest mailing list