|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# Porting Qt Applications to Qt for Embedded Linux

Existing Qt applications should require no porting provided there is no platform dependent code.

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 and disable code for each platform using `#ifdef` directives:

- Qt for Embedded Linux: Q_WS_QWS
- Qt for Mac OS X: Q_WS_MAC
- Qt for Windows: Q_WS_WIN
- Qt for X11: Q_WS_X11