On Friday 15 March 2002 18:57, Paulo Dias wrote:
> Hi, for what i found out, the licq development team changed the acinclude
> files, so now some ppl, me included, need to manually disable the qt-mt
> (multi thread) option by hand when compiling the qt-plugin with kde
> support. Aparently your problem is that you compiled with the qt-mt option,
> when the correct one is to compile with -qt only, so the gui crashes, you
> can verify that by NOT using the qt gui.
> Try changing the acinclude.in and in.m4 files code from qt-mt to qt (don't
> worry if it gets doubled in the files, the idea is to push licq to compile
> with the qt feature. if it works for you, say it in the mailing list, so
> the developers can take a look.

Could you please try the following patch and tell me if it helps ?

Laurent Pinchart
Index: acinclude.m4.in
===================================================================
RCS file: /cvsroot/licq/qt-gui/acinclude.m4.in,v
retrieving revision 1.40
diff -u -r1.40 acinclude.m4.in
--- acinclude.m4.in     14 Feb 2002 08:18:11 -0000      1.40
+++ acinclude.m4.in     17 Feb 2002 14:20:05 -0000
@@ -237,11 +237,11 @@
   [
     AC_LANG_SAVE
     AC_LANG_CPLUSPLUS
-    
+
     save_CXXFLAGS="$CXXFLAGS"
     save_LDFLAGS="$LDFLAGS"
     save_LIBS="$LIBS"
-     
+
     CXXFLAGS="$CXXFLAGS $QT_INCLUDES $X_CFLAGS"
     LDFLAGS="$X_LIBS $QT_LDFLAGS $LDFLAGS"
     LIBS="$LIB_QT $X_PRE_LIBS -lX11 -lXext $LIBS"
@@ -257,6 +257,10 @@
       ac_cv_qt_setup=yes,
       ac_cv_qt_setup=no
     )
+
+    CXXFLAGS="$save_$CXXFLAGS"
+    LDFLAGS="$save_LDFLAGS"
+    LIBS="$save_LIBS"
    ])
 
   AC_MSG_RESULT($ac_cv_qt_setup)

Reply via email to