Cross-platforming and Qtopia
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?
Re: Cross-platforming and Qtopia
Yep, this is defined on Qtopia Core: Q_WS_QWS.
Re: Cross-platforming and Qtopia
Thankyou. Generally, how does one find such things out? There's no "search" function to Trolltech's online documentation, and reading their code every time to find things like that seems needlessly complex.
Re: Cross-platforming and Qtopia
Quote:
Originally Posted by
Antrax
Generally, how does one find such things out? There's no "search" function to Trolltech's online documentation, and reading their code every time to find things like that seems needlessly complex.
You can search the documentation using Qt Assitant or Google (http://www.google.com/search?q=site%...h.com+Q_WS_QWS)