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

Wes Hardaker qt at hardakers.net
Tue May 15 22:31:48 CEST 2012


Yang Fan <missdeer at gmail.com> writes:

> 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.

I've used this, which isn't ideal, but works:

#if defined(__arm__) && !defined(IS_MAEMO) && !defined(ANDROID)

-- 
Wes Hardaker                                     
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/



More information about the Interest mailing list