[Kde-bindings] Should QX11Info, QX11ContainerEmbed and QX11WidgetEmbed by added to qtgui smoke lib?

Richard Dale rdale at foton.es
Mon Nov 30 14:59:41 UTC 2009


Robert Riemann asked me about including the three X11 specific Qt classes in 
the qtgui smokelib. I said we could either do a mini-smoke lib with just them 
in, or we could added them. I tried adding the includes for them, and the 
classes to the classes list, and the smoke lib builds fine.

Index: smokeconfig.xml                                                                                                      
===================================================================                                                         
--- smokeconfig.xml     (revision 1055285)                                                                                  
+++ smokeconfig.xml     (working copy)                                                                                      
@@ -29,6 +29,7 @@                                                                                                           
         <!-- windows internal helper functions -->                                                                         
         <signature>.*qFrom.*Endian_helper.*</signature>                                                                    
         <signature>.*QPixmapData.*</signature>                                                                             
+        <signature>.*qt_x11_getX11InfoForWindow.*</signature>                                                              
    </exclude>                                                                                                              
     <functions>                                                                                                            
         <!-- include functions starting with 'q' -->                                                                       

Index: qtgui_includes.h
===================================================================
--- qtgui_includes.h    (revision 1055285)
+++ qtgui_includes.h    (working copy)
@@ -1,2 +1,4 @@
 #include <QtCore/QtCore>
 #include <QtGui/QtGui>
+#include <QtGui/qx11info_x11.h>
+#include <QtGui/qx11embed_x11.h>

So should I add them? Or will it cause problems on platforms with the classes 
don't exist?

-- Richard



More information about the Kde-bindings mailing list