Hi,

I needed attached patch to compile the latest PyKDE snapshot on my 
Kubuntu system. It basically converts all qlist.h's to qptrlist.h since 
a qlist.h compatibility header is not provided in the packages I'm 
using. PyKDE does now work fine here. (Python 2.4, python-qt-dev 
3.14.1, Qt 3.3.4, KDE 3.4.0, sip 4.2.1, gcc 4.0.)

Please have a look at it and consider applying.

Thanks in advance,

sebas
-- 
  http://vizZzion.org   |   GPG Key ID: 9119 0EF9 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
It is necessary for the welfare of society that genius should be 
privileged to utter sedition, to blaspheme, to outrage good taste, to 
corrupt the youthful mind, and generally to scandalize one's uncles. - 
George Bernard Shaw

diff -urp PyKDE-snapshot20050316/sip/kdeui/klistview.sip /usr/local/PyKDE-snapshot20050316/sip/kdeui/klistview.sip
--- PyKDE-snapshot20050316/sip/kdeui/klistview.sip	2005-03-05 06:45:32.000000000 +0100
+++ /usr/local/PyKDE-snapshot20050316/sip/kdeui/klistview.sip	2005-05-24 23:51:07.000000000 +0200
@@ -266,7 +266,7 @@ public:
 //converts a Python list of QListViewItem
 {
 %TypeHeaderCode
-#include <qlist.h>
+#include <qptrlist.h>
 #include <qlistview.h>
 #include <sipqtQListViewItem.h>
 typedef QPtrList<QListViewItem> ListViewItems;
diff -urp PyKDE-snapshot20050316/sip/kfile/kfilebookmark.sip /usr/local/PyKDE-snapshot20050316/sip/kfile/kfilebookmark.sip
--- PyKDE-snapshot20050316/sip/kfile/kfilebookmark.sip	2004-08-15 19:41:51.000000000 +0200
+++ /usr/local/PyKDE-snapshot20050316/sip/kfile/kfilebookmark.sip	2005-05-24 23:51:41.000000000 +0200
@@ -86,7 +86,7 @@ signals:
 //converts a Python list of KFileBookmark
 {
 %TypeHeaderCode
-#include <qlist.h>
+#include <qptrlist.h>
 %End
 
 %ConvertFromTypeCode
diff -urp PyKDE-snapshot20050316/sip/kfile/kfileviewitem.sip /usr/local/PyKDE-snapshot20050316/sip/kfile/kfileviewitem.sip
--- PyKDE-snapshot20050316/sip/kfile/kfileviewitem.sip	2004-08-15 19:41:51.000000000 +0200
+++ /usr/local/PyKDE-snapshot20050316/sip/kfile/kfileviewitem.sip	2005-05-24 23:51:25.000000000 +0200
@@ -60,7 +60,7 @@ typedef QList<KFileViewItem> KFileViewIt
 //converts a Python list of KFileViewItem
 {
 %TypeHeaderCode
-#include <qlist.h>
+#include <qptrlist.h>
 %End
 
 %ConvertFromTypeCode
diff -urp PyKDE-snapshot20050316/sip/khtml/khtmlview.sip /usr/local/PyKDE-snapshot20050316/sip/khtml/khtmlview.sip
--- PyKDE-snapshot20050316/sip/khtml/khtmlview.sip	2005-03-05 06:45:29.000000000 +0100
+++ /usr/local/PyKDE-snapshot20050316/sip/khtml/khtmlview.sip	2005-05-24 23:51:59.000000000 +0200
@@ -143,7 +143,7 @@ protected slots:
 //converts a Python list of KHTMLView
 {
 %TypeHeaderCode
-#include <qlist.h>
+#include <qptrlist.h>
 %End
 
 %ConvertFromTypeCode

Attachment: pgpxoykmlyznN.pgp
Description: PGP signature

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to