Re: [PyQt] If directive for declaring a function for different SIP versions

2013-06-26 Thread Phil Thompson
On Wed, 26 Jun 2013 16:16:41 -0400, Forest Yang wrote: > Hi, > > I have one function to wrap, and want it to work with both sip 4.10 and > 4.13, > There is a KeywordArgs on it. It seems from 4.10 to 4.13 there are some > changes > from /KeywordArgs/ to /KeywordArgs="Optional"/. But the old form

[PyQt] If directive for declaring a function for different SIP versions

2013-06-26 Thread Forest Yang
Hi, I have one function to wrap, and want it to work with both sip 4.10 and 4.13, There is a KeywordArgs on it. It seems from 4.10 to 4.13 there are some changes from /KeywordArgs/ to /KeywordArgs="Optional"/. I hope I can use %if, like the following: %if (- SIP_4_13) void foo(...) /KeywordArgs

Re: [PyQt] PyQt5 module not found

2013-06-26 Thread Vincent Vande Vyvre
Le 26/06/2013 14:59, Shriramana Sharma a écrit : Hello. Trying to compile PyQt5 on my Kubuntu Raring system, I had problems: the SIP version was too old, backporting the latest from Debian broke the existing PyQt4 packages because they depend on an older SIP API, and that removed the existing PyQ

Re: [PyQt] PyQt5 module not found

2013-06-26 Thread Scott Kitterman
Shriramana Sharma wrote: >Hello. Trying to compile PyQt5 on my Kubuntu Raring system, I had >problems: the SIP version was too old, backporting the latest from >Debian broke the existing PyQt4 packages because they depend on an >older SIP API, and that removed the existing PyQt4/PyKDE4/PyQsci-b

Re: [PyQt] PyQt5 module not found

2013-06-26 Thread Dmitry Shachnev
On Wed, Jun 26, 2013 at 5:12 PM, Shriramana Sharma wrote: > @Scott: Do you perhaps have some PyQt5 packages for Raring in a PPA > somewhere? Thanks! I have packages for Saucy in ppa:mitya57/ppa, if you've already upgraded your sip, you can try to use them on a Raring system. -- Dmitry Shachnev _

Re: [PyQt] PyQt5 module not found

2013-06-26 Thread Shriramana Sharma
@Scott: Do you perhaps have some PyQt5 packages for Raring in a PPA somewhere? Thanks! -- Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] PyQt5 module not found

2013-06-26 Thread Shriramana Sharma
Hello. Trying to compile PyQt5 on my Kubuntu Raring system, I had problems: the SIP version was too old, backporting the latest from Debian broke the existing PyQt4 packages because they depend on an older SIP API, and that removed the existing PyQt4/PyKDE4/PyQsci-based apps, so I rebuilt the lates

Re: [PyQt] Kled module

2013-06-26 Thread David Boddie
On Tue Jun 25 23:55:53 BST 2013, Phil wrote: > On 25/06/13 22:34, Robert Kent wrote: > > Hi Phil, > > > > I don't know about using Kled, but I have an LED widget written in pure > > python/PyQt4 which may suit your needs. You can download it from my > > google code page here: > > > > https://code.