#include <QtGui/qwindowdefs.h> #ifndef QWINDOWDEFS_H #if defined(Q_WS_X11) typedef long unsigned int WId; #endif // Q_WS_X11 #endif // QWINDOWDEFS_H