[PyKDE] Recent sip, PyQt, PyKDE snapshot - error during building kdecore/ void release_Display(void*, int) - dumbfix.

Mateusz Korniak mateusz at ant.gliwice.pl
Fri Apr 28 07:32:27 BST 2006


On Thursday 27 April 2006 18:13, Jim Bublitz wrote:
> On Thursday 27 April 2006 06:13, Mateusz Korniak wrote:
> > On Monday 24 April 2006 14:07, Mateusz Korniak wrote:
> > > I have such problem building latest PyKDE:
> >
> > I dumbfixed it forcing to qvariant.h be included much more early.
> > Seems it fixed building and long awaited pyKDE for 3.5.2 works for me as
> > charm :) , though I have no idea if it is right way of fixing....
> > Just info ...
>
> Sorry I missed your original post. Yes, moving Qt h files earlier in files
> is sometimes necessary. I don't have an explanation for why that happens,
> but I suspect it might just be differences between the order in which KDE
> and PyKDE compile things. The problem seems to be fairly random as well,
> and varies by distribution/version.
>
> Can you tell me where you moved the #include to - I'll modify PyKDE for the
> next snapshot.

I just added #include <qvariant.h> into  %ModuleHeaderCode of bytearray.sip :

++ PyKDE-snapshot20060422/sip/kdecore/bytearray.sip 

@@ -22,6 +22,7 @@
 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

 %ModuleHeaderCode
+#include <qvariant.h> // Later include results errors.
 #include <sipdcopQValueList.h>
 %End

Patch included, HiH, regards,
-- 
Mateusz Korniak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-PyKDE-late_qvariant_include_fix.patch
Type: text/x-diff
Size: 379 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060428/6cc70f0e/python-PyKDE-late_qvariant_include_fix.bin


More information about the PyQt mailing list