Detecting Qt/Embedded

Konrad Hinsen <[email protected]> Mon, 9 Dec 2002 23:13:40 +0100
Newsgroups gmane.comp.handhelds.zaurus.devel
Message-ID <[email protected]>
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.).

Konrad.



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