Hello,

I get the impression that the KDE support of Licq's QT GUI is largely
unmaintained. Attached is a patch to make it compile with KDE3 again
(while not breaking KDE2 support).

Theme/style support changed in KDE3 and recently libksycoca has been
removed, so I also changed the acinclude.m4.in to check for libkdecore
instead.

Regards,

Rob
-- 
Rob Kaper     | "They that can give up essential liberty to obtain a little
[EMAIL PROTECTED] | temporary safety deserve neither liberty nor safety."
www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759
Index: plugins/qt-gui/acinclude.m4.in
===================================================================
RCS file: /extra/cvsroot/qt-gui/acinclude.m4.in,v
retrieving revision 1.33
diff -u -3 -d -p -r1.33 acinclude.m4.in
--- acinclude.m4.in     2001/11/22 00:58:39     1.33
+++ acinclude.m4.in     2002/01/10 10:09:42
@@ -347,7 +347,7 @@ AC_DEFUN(AC_PATH_KDE,
     kde_libdirs="$KDEDIR/lib $KDEDIR $kde_libdirs"
   fi
 
-  LICQ_FIND_FILE(libksycoca.la, $kde_libdirs, kde_libdir)
+  LICQ_FIND_FILE(libkdecore.la, $kde_libdirs, kde_libdir)
   kde_libraries=$kde_libdir
 
   if test -n "$kde_includes" && test -n "$kde_libraries" && test -n "$ac_kde"; then
Index: plugins/qt-gui/src/licqgui.cpp
===================================================================
RCS file: /extra/cvsroot/qt-gui/src/licqgui.cpp,v
retrieving revision 1.49
diff -u -3 -d -p -r1.49 licqgui.cpp
--- licqgui.cpp 2001/12/12 01:29:11     1.49
+++ licqgui.cpp 2002/01/10 10:09:42
@@ -21,7 +21,10 @@
 #endif
 
 #ifdef USE_KDE
+#include <kapplication.h>
+#if KDE_VERSION < 290
 #include <kthemestyle.h>
+#endif
 #endif
 #include <qwindowsstyle.h>
 #include <qmotifstyle.h>

Reply via email to