[Kde-bindings] Wrapper for KWin class ?

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Jan 26 22:36:31 UTC 2006


On Thursday 26 January 2006 21:34, Han Holl wrote:
> On Thursday 26 January 2006 19:38, Richard Dale wrote:
> > You need to do a 'make clean' in kdebindings/smoke/kde before running
> > 'make' in that directory, and then 'make install' of course..
>
> I tried that and unfortunately it didn't work.
> make ended with:
> x_13.cpp: In static member function 'static void x_QApplication::x_137
> (Smoke::StackItem*)':
> x_13.cpp:18862: error: 'winVersion' is not a member of 'QApplication'
> x_13.cpp: In static member function 'static void x_QApplication::x_138
> (Smoke::StackItem*)':
> x_13.cpp:18867: error: 'macVersion' is not a member of 'QApplication'
>
> Well, it's not that important. It would be nice if a future korundum would
> include KDE::Win though.
Actually, I only commented out one line last night, because kwin.h has a 
'#ifdef Q_OS_UNIX' in it, and I suggested removing the other one for 
'completeness' but it messed up the build. So this should actually work:

Index: kalyptus
===================================================================
--- kalyptus    (revision 493358)
+++ kalyptus    (working copy)
@@ -582,7 +582,7 @@
                                     ($p =~ 
m/^#\s*if\s+defined\(Q_INCOMPATIBLE_3_0_ADDONS/ and $qt_embedded) or
                                     $p =~ m/^#\s*ifndef\s+QT_NO_STL/ or
                                     $p =~ m/^#\s*if\s+defined\s*\(Q_OS_/ or
-                                    $p =~ m/^#\s*ifdef\s*Q_OS_/ or
+#                                   $p =~ m/^#\s*ifdef\s*Q_OS_/ or
                                     $p =~ m/^#\s*if\s+defined\(Q_CC_/ or
                                     $p =~ 
m/^#\s*if\s+defined\(QT_THREAD_SUPPORT/ or
                                     $p =~ m/^#\s*else/ or

-- Richard



More information about the Kde-bindings mailing list