Porting your applications to Qt/Embedded
Existing Qt applications should require no porting provided there is no
platform dependent code. Platform dependent code includes system calls,
calls to the underlying window system (Windows or X11), and Qt platform
specific methods such as QApplication::x11EventFilter().
For cases where it is necessary to use platform dependent code there are
macros defined that can be used to enable/disable code for each platform
using #ifdef directives:
Platform | Macro |
Qt/X11 | _WS_X11_ |
Qt/Windows | _WS_WIN_ |
Qt/Embedded | _WS_QWS_ |
Copyright © 2000 Trolltech | Trademarks
| Qt version 2.2.1
|