I need to write code that compiles on a regular OS, and an embedded OS. If it's compiled for the embedded OS, it should run code that is Qtopia-specific, otherwise it's all standard Qt. I'm sure there's a simple define somewhere that tells you if you're compiling with the embedded libraries or not, but I've been unable to find it. What should I #ifdef for to find out if I'm being compiled with Qtopia or with QT/X11?
Bookmarks