Bad problems with X11 headers messing Qt headers no idea how to fix

Piotr Szymański niedakh at gmail.com
Tue Jul 26 22:02:50 CEST 2005


Hello,
In one file I am including
#include <X11/Xlib.h>
#include <X11/Xatom.h>
and
#include <qprinter.h>

It wont build, stupid #defines from X11/X.h include in X11/Xlib.h completely 
break stuff (like GrayColor in an enum in qprinter is replace with 1 by the 
#define).

I have completely no idea on how to fix it.. :(
-- 
Piotr Szymański
niedakh at gmail.com
CS student at Faculty of Fundamental Problems of Technology, 
Wroclaw University of technology, Poland


More information about the Kde-soc mailing list