Am Sonntag, 12. März 2006 18:30 schrieb Juergen Spitzmueller:
> > +///////////////////////////////////////////////////////////////
> > +// Specific stuff
> > +#ifdef Q_OS_X11
> >  #include <X11/Xlib.h>
> >  #endif
> 
> This has to be Q_WS_X11, else I get a compilation error here

There still seems to be a general defines confusion.

Q_OS_MACX does not exist. What Qt has are defines for the operating system 
(OS) and the window system (WS):

Q_OS_MAC  - defined if the OSX operating system is used
Q_WS_MACX - defined if the aqua window system is used (OSX only)
Q_WS_X11  - defined if the X11 windows system is used (unices, linux and 
of course also possible on OSX)
Q_WS_WIN  - defined if the window system of MS windows is used

and several more.

Abdel, could you please fix the ifdefs accordingly?


Georg

Reply via email to