1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifdef Q_OS_SOLARIS #error "Not supported." #else #include <X11/Xlib.h> #include <X11/extensions/XInput.h> #ifdef Q_OS_IRIX # include <wacom.h> #endif int main(int, char **) { XDeviceButtonEvent *event; event = 0; return 0; } #endif