When compiling lyx-devel, cvs sep 21, on a redhat 6.2 system, with
qt1x-1.45-3
qt1x-devel-1.45-3[
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
and doing
./configure --disable-nls --with-frontend=kde --with-qt-dir=/usr/lib/qt-1.45
I get the following error message:
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src
-I../../../src/ -I../../../src/frontends/ -I../../.. -I../../.. -I./kde
-I/usr/lib/qt-1.45/include -I/usr/include/kde -I../../../src/frontends/xforms
-isystem /usr/X11R6/include -g -O -fno-rtti -fno-exceptions -ansi -W -Wall
-Wno-return-type -c FormToc.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ -I../../../src/frontends/
-I../../.. -I../../.. -I./kde -I/usr/lib/qt-1.45/include -I/usr/include/kde
-I../../../src/frontends/xforms -isystem /usr/X11R6/include -g -O -fno-rtti
-fno-exceptions -ansi -W -Wall -Wno-return-type -Wp,-MD,.deps/FormToc.pp -c FormToc.C
-o FormToc.o
In file included from /usr/lib/qt-1.45/include/qpainter.h:33,
from /usr/lib/qt-1.45/include/qdrawutil.h:28,
from /usr/lib/qt-1.45/include/qscrollbar.h:30,
from /usr/lib/qt-1.45/include/qscrollview.h:28,
from /usr/lib/qt-1.45/include/qlistview.h:37,
from formtocdialog.h:28,
from FormToc.C:20:
/usr/lib/qt-1.45/include/qregion.h:74: parse error before `^'
/usr/lib/qt-1.45/include/qregion.h:118: duplicate nested type `QRegion'
make[4]: *** [FormToc.lo] Error 1
make[4]: Leaving directory `/tmp/lyx-devel/src/frontends/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/lyx-devel/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/lyx-devel/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/lyx-devel/src'
make: *** [all-recursive] Error 1
Edwin