--=-elePhL1TBQK51gFv+AOb Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable I have checked out kdebase from 20 minutes ago.. there is a compile problem... bin/sh ../libtool --silent --mode=3Dcompile --tag=3DCXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libltdl -I/home/kde3/kde3/include -I/home/kde3/CVS/qt-copy/include -I/usr/X11R6/include =20 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o libnsplugin_la.all_cpp.lo `test -f libnsplugin_la.all_cpp.cpp || echo './'`libnsplugin_la.all_cpp.cpp objprelink .libs/libnsplugin_la.all_cpp.o objprelink .libs/libnsplugin_la.all_cpp.o In file included from libnsplugin_la.all_cpp.cpp:5: kqeventutil.cpp: In static member function `static QString KQEventUtil::getQtEventName(QEvent*)': kqeventutil.cpp:31: parse error before numeric constant In file included from libnsplugin_la.all_cpp.cpp:5: kqeventutil.cpp:33: warning: unreachable code at beginning of switch statement make[1]: *** [libnsplugin_la.all_cpp.lo] Erreur 1 make[1]: Quitte le r=E9pertoire `/home/kde3/CVS/kde/kdebase/nsplugins' make: *** [all-recursive] Erreur 1 its another name clashes between X and Qt (None and QEvent::None) i have attached an ugly patch for this but a kdelibs header who avoid X-Qt name clashes must be the right solution FeniX --=-elePhL1TBQK51gFv+AOb Content-Disposition: attachment; filename=nsplug.patch Content-Transfer-Encoding: quoted-printable Content-Type: text/x-diff; name=nsplug.patch; charset=ISO-8859-15 ? test.cpp Index: knspluginembed.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/kdebase/nsplugins/knspluginembed.cpp,v retrieving revision 1.5 diff -u -u -r1.5 knspluginembed.cpp --- knspluginembed.cpp 5 Jul 2002 01:16:01 -0000 1.5 +++ knspluginembed.cpp 5 Jul 2002 15:59:41 -0000 @@ -31,15 +31,31 @@ #include #include // avoid name clashes between X and Qt -const int XFocusOut =3D FocusOut; -const int XFocusIn =3D FocusIn; -const int XKeyPress =3D KeyPress; -const int XKeyRelease =3D KeyRelease; -#undef KeyRelease -#undef KeyPress -#undef FocusOut -#undef FocusIn - +#if !defined( XFocusOut ) && defined( FocusOut ) +const int _XFocusOut =3D FocusOut; +# define XFocusOut _XFocusOut +# undef FocusOut +#endif +#if !defined( XFocusIn ) && defined( FocusIn ) +const int _XFocusIn =3D FocusIn; +# define XFocusIn _XFocusIn +# undef FocusIn +#endif +#if !defined( XKeyPress ) && defined( KeyPress ) +const int _XKeyPress =3D KeyPress; +# define XKeyPress _XKeyPress +# undef KeyPress +#endif +#if !defined( XKeyRelease ) && defined( KeyRelease ) +const int _XKeyRelease =3D KeyRelease; +# define XKeyRelease _XKeyRelease +# undef KeyRelease +#endif +#if !defined( XNone ) && defined( None ) +const int _XNone =3D None; +# define XNone _XNone +# undef None +#endif =20 #include "kqeventutil.h" #include "kxeventutil.h" @@ -328,7 +344,7 @@ c.width =3D width(); c.height =3D height(); c.border_width =3D 0; - c.above =3D None; + c.above =3D XNone; c.override_redirect =3D 0; XSendEvent( qt_xdisplay(), c.event, TRUE, StructureNotifyMask, (XE= vent*)&c ); } Index: kxeventutil.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/kdebase/nsplugins/kxeventutil.cpp,v retrieving revision 1.1 diff -u -u -r1.1 kxeventutil.cpp --- kxeventutil.cpp 5 Jul 2002 01:16:02 -0000 1.1 +++ kxeventutil.cpp 5 Jul 2002 15:59:41 -0000 @@ -25,6 +25,32 @@ #include #include #include +// avoid name clashes between X and Qt +#if !defined( XFocusOut ) && defined( FocusOut ) +const int _XFocusOut =3D FocusOut; +# define XFocusOut _XFocusOut +# undef FocusOut +#endif +#if !defined( XFocusIn ) && defined( FocusIn ) +const int _XFocusIn =3D FocusIn; +# define XFocusIn _XFocusIn +# undef FocusIn +#endif +#if !defined( XKeyPress ) && defined( KeyPress ) +const int _XKeyPress =3D KeyPress; +# define XKeyPress _XKeyPress +# undef KeyPress +#endif +#if !defined( XKeyRelease ) && defined( KeyRelease ) +const int _XKeyRelease =3D KeyRelease; +# define XKeyRelease _XKeyRelease +# undef KeyRelease +#endif +#if !defined( XNone ) && defined( None ) +const int _XNone =3D None; +# define XNone _XNone +//# undef None +#endif =20 #include "kxeventutil.h" =20 @@ -276,11 +302,11 @@ QString s; switch( e->type ) { - case KeyPress: + case XKeyPress: s =3D "KeyPress"; info =3D getXKeyEventInfo(e); break; - case KeyRelease: + case XKeyRelease: s =3D "KeyRelease"; info =3D getXKeyEventInfo(e); break; @@ -304,11 +330,11 @@ s =3D "LeaveNotify"; info =3D getXCrossingEventInfo(e); break; - case FocusIn: + case XFocusIn: s =3D "FocusIn"; info =3D getXFocusChangeEventInfo(e); break; - case FocusOut: + case XFocusOut: s =3D "FocusOut"; info =3D getXFocusChangeEventInfo(e); break; --=-elePhL1TBQK51gFv+AOb--