KDE/kdelibs

Alexander Neundorf neundorf at kde.org
Tue Feb 7 23:26:19 CET 2006


Hi,

On Tuesday 07 February 2006 23:18, Peter Kümmel wrote:
> Michael Drüing wrote:
> > #ifdef Q_WS_WIN
> > #include <windows.h>
> > #include "qt_windows.h"
> > #include <win32_utils.h>
> > static QRgb qt_colorref2qrgb(COLORREF col)
> > {
> >     return qRgb(GetRValue(col),GetGValue(col),GetBValue(col));
> > }
> > #endif
>
> We are working on this, the problem is that in config.h unistd.h
> is included, which disables the including of wingdi.h to avoid
> the definition of symbols.

Why does including unistd.h disable wingdi.h ? Or why doesn unistd.h define 
NOGUI ?
And what is the right way to remove the NOGUI again ?
Would inserting a #undef NOGUI in some strategic place help ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list