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
--- PyKDE-snapshot20060422/sip/kdecore/bytearray.sip.orig 2006-04-27 13:34:52.000000000 +0200 +++ PyKDE-snapshot20060422/sip/kdecore/bytearray.sip 2006-04-27 13:35:28.000000000 +0200 @@ -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
_______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
