[Kde-bindings] QT3 support bug in kalyptus generator

Petr Vanek petr at scribus.info
Tue Sep 15 07:37:59 UTC 2009


hi all,

there is a bug in kalyptus main script. It accidentally skipped one  
QT3_SUPPORT ifdef from Qt4's src/corelib/io/qurl.h and it caused  
compile time errors when there is no qt3support module present  
(default on new mac with qt4 installed from macports).

Fix:

rimmer:kalyptus pvanek$ svn diff
Index: kalyptus
===================================================================
--- kalyptus    (revision 1127)
+++ kalyptus    (working copy)
@@ -615,6 +615,7 @@
                                     $p =~ m/^#\s*ifdef\s+Q_OS_UNIX/ or
                                     $p =~ m/^#\s*ifdef\s+Q_MOC_RUN/ or
                                     $p =~ m/^#\s*if\s+defined\s*\ 
(QT3_SUPPORT/ or
+                                    $p =~ m/^#\s*if\s+defined\s 
+QT3_SUPPORT/ or
                                     $p =~ m/^#\s*if\s+defined\s*\ 
(qdoc/ or
                                     $p =~ m/^#\s*ifdef\s+qdoc/ or
                                     $p =~ m/^#\s*ifndef\s 
+QT_NO_MEMBER_TEMPLATES/ or

I hope you can commit it.

all the best,
Petr



More information about the Kde-bindings mailing list