[PyQt] sip and deployment

2010-09-27 Thread Lic . José M . Rodriguez Bacallao
hi folks, just a little question, if SIP is the binding generator of PyQt4, is necesary to have it installed for a PyQt4 application to run?, can I get rid of it? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos

[PyQt] TableWidget sorting

2010-09-27 Thread Hugo Léveillé
I'd like to sort by number size instead of alpha order. Cause by default, for exemple, 9199 will be before 92. I checked or Qt.SortOrder but only found Qt.AscendingOrder and Qt.DescendingOrder -- Hugo Léveillé hu...@fastmail.net ___ PyQt mailing

Re: [PyQt] sip and deployment

2010-09-27 Thread Yao Ko
On Mon, Sep 27, 2010 at 11:06 AM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, just a little question, if SIP is the binding generator of PyQt4, is necesary to have it installed for a PyQt4 application to run?, can I get rid of it? You can try to run python -v, then from

[PyQt] Bug in sip-4.11.1 and PyQt-4.7.7 ?

2010-09-27 Thread Gerard Vermeulen
Phil, when running the following code #!/usr/bin/env python # -*- coding: utf-8 -*- import PyQt4.Qt as Qt class MyWidget(Qt.QWidget): def __init__(self, parent=None): super(Qt.QWidget, self).__init__(parent) # __init__() # class MyWidget def bar(widget): pass

Re: [PyQt] Bug in sip-4.11.1 and PyQt-4.7.7 ?

2010-09-27 Thread Vicente Sole
Hi Gerard, Quoting Gerard Vermeulen gav...@gmail.com: Phil, when running the following code #!/usr/bin/env python # -*- coding: utf-8 -*- import PyQt4.Qt as Qt class MyWidget(Qt.QWidget): def __init__(self, parent=None): super(Qt.QWidget, self).__init__(parent) Just for my

Re: [PyQt] sip and deployment

2010-09-27 Thread Phil Thompson
On Mon, 27 Sep 2010 14:06:22 -0400, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, just a little question, if SIP is the binding generator of PyQt4, is necesary to have it installed for a PyQt4 application to run?, can I get rid of it? You can get rid of everything but the

Re: [PyQt] Bug in sip-4.11.1 and PyQt-4.7.7 ?

2010-09-27 Thread Darren Dale
On Mon, Sep 27, 2010 at 2:45 PM, Gerard Vermeulen gav...@gmail.com wrote:  Phil, when running the following code #!/usr/bin/env python # -*- coding: utf-8 -*- import PyQt4.Qt as Qt class MyWidget(Qt.QWidget):    def __init__(self, parent=None):        super(Qt.QWidget,

Re: [PyQt] Bug in sip-4.11.1 and PyQt-4.7.7 ?

2010-09-27 Thread Darren Dale
On Mon, Sep 27, 2010 at 3:02 PM, Vicente Sole s...@esrf.fr wrote: Hi Gerard, Quoting Gerard Vermeulen gav...@gmail.com:  Phil, when running the following code #!/usr/bin/env python # -*- coding: utf-8 -*- import PyQt4.Qt as Qt class MyWidget(Qt.QWidget):    def __init__(self,

[PyQt] Can't find qmake when configuring PyQt

2010-09-27 Thread dizou
I am trying to build PyQt 4.7.4. I have successfully installed Qt 4.6.3 to /local/Qt-4.6.3. I have /local/Qt-4.6.3/bin in my path. When I do this: python configure.py or python configure.py -q /local/Qt-4.6.3/bin/qmake I get this error: Determining the layout of your Qt installation... Error:

Re: [PyQt] Can't find qmake when configuring PyQt

2010-09-27 Thread Phil Thompson
On Mon, 27 Sep 2010 12:27:56 -0700 (PDT), dizou di_...@yahoo.com wrote: I am trying to build PyQt 4.7.4. I have successfully installed Qt 4.6.3 to /local/Qt-4.6.3. I have /local/Qt-4.6.3/bin in my path. When I do this: python configure.py or python configure.py -q /local/Qt-4.6.3/bin/qmake

Re: [PyQt] Bug in sip-4.11.1 and PyQt-4.7.7 ?

2010-09-27 Thread Hans-Peter Jansen
On Monday 27 September 2010, 21:17:35 Darren Dale wrote: On Mon, Sep 27, 2010 at 3:02 PM, Vicente Sole s...@esrf.fr wrote: Hi Gerard, Quoting Gerard Vermeulen gav...@gmail.com:  Phil, when running the following code #!/usr/bin/env python # -*- coding: utf-8 -*- import

Re: [PyQt] TableWidget sorting

2010-09-27 Thread Hans-Peter Jansen
[Hugo, please don't hijack threads, e.g. don't hit reply in a thread, better just click on the list email address (hopefully, your webmailer supports that)] On Monday 27 September 2010, 20:07:58 Hugo Léveillé wrote: I'd like to sort by number size instead of alpha order. Cause by default, for

Re: [PyQt] Can't find qmake when configuring PyQt

2010-09-27 Thread Hans-Peter Jansen
On Monday 27 September 2010, 21:27:56 dizou wrote: I am trying to build PyQt 4.7.4. I have successfully installed Qt 4.6.3 to /local/Qt-4.6.3. I have /local/Qt-4.6.3/bin in my path. When I do this: python configure.py or python configure.py -q /local/Qt-4.6.3/bin/qmake I get this error:

Re: [PyQt] Can't find qmake when configuring PyQt

2010-09-27 Thread dizou
Phil Thompson-5 wrote: Try running configure.py with the --verbose flag. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt I did this and it showed that my QMAKESPEC was