Re: Detecting Qt/Embedded

Konrad Hinsen <[email protected]> 09 Dec 2002 23:51:11 +0100
Newsgroups gmane.comp.handhelds.zaurus.devel
Message-ID <[email protected]>
Konrad Hinsen <[email protected]> writes:

> I am porting some Qt code to the Zaurus, where it needs modification
> due to restrictions in the Qt/Embedded implementation of the Zaurus
> (e.g. QColor with a name argument is not supported). To keep the code
> portable, I would like to check if I am running under Qt/Embedded
> and/or Qtopia. Is there any official/safe way to do that? All I can
> think of is checking for the presence of the QPE-stuff (QPEApplication
> etc.).

One important detail: this is all Python code, so I need a run-time
check.

Konrad.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf