--- qt-im/qgcininputcontext_x11.cpp.str	2009-02-11 23:23:09.000000000 +0100
+++ qt-im/qgcininputcontext_x11.cpp	2009-02-11 23:23:23.000000000 +0100
@@ -121,7 +121,7 @@
 void QGCINInputContext::close( const QString &errMsg )
 {
 //    printf("close\n");
-    qDebug( errMsg );
+    qDebug( "%s", (const char*) errMsg );
     emit deletionRequested();
 }
 
