Вернее даже не KDE, а библиотеку Qt 2.3.1.
ОС - FreeBSD 5.2.1
Что делать?
g++ -c -I/usr/X11R6/include -I/usr/local/qt/include -I/usr/X11R6/include -pipe -fno-exceptions -O2 -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_NO_IMAGEIO_MNG -DQT_XFT -I/usr/local/qt/src/3rdparty/zlib -I/usr/local/qt/src/3rdparty/libpng -o kernel/qpsprinter.o kernel/qpsprinter.cpp
In file included from kernel/qapplication.h:42,
from kernel/qpsprinter.cpp:73:
kernel/qwidget.h:129: error: syntax error before `)\' token
kernel/qwidget.h:417: error: `WId\' was not declared in this scope
kernel/qwidget.h:417: error: variable declaration is not allowed here
kernel/qwidget.h:489: error: `WId\' was not declared in this scope
kernel/qwidget.h:489: error: syntax error before `=\' token
kernel/qwidget.h:490: error: invalid data member initialization
kernel/qwidget.h:490: error: (use `=\' to initialize static data members)
kernel/qwidget.h:490: error: variable or field `create\' declared void
kernel/qwidget.h:490: error: `create\' declared as a `virtual\' field
kernel/qwidget.h:520: error: `WId\' was not declared in this scope
kernel/qwidget.h:520: error: invalid data member initialization
kernel/qwidget.h:520: error: variable or field `setWinId\' declared void
kernel/qwidget.h:545: error: \'WId\' is used as a type, but is not defined as a
type.
kernel/qwidget.h:628: error: syntax error before `::\' token
In file included from kernel/qapplication.h:42,
from kernel/qpsprinter.cpp:73:
kernel/qwidget.h:38:1: unterminated #ifndef
In file included from kernel/qpsprinter.cpp:73:
kernel/qapplication.h:41:1: unterminated #ifndef
kernel/qapplication.h:38:1: unterminated #ifndef
kernel/qpsprinter.cpp:68:1: unterminated #ifndef
*** Error code 1
Stop in /usr/local/qt/src.
*** Error code 1
Stop in /usr/local/qt.
*** Error code 1
Stop in /usr/local/qt.