Re: [PyQt] ANN: PyQt v4.9.2 and SIP v4.13.3 Released

2012-06-23 Thread Kovid Goyal
Just for completeness, here is the simplest possible test case: python -c "from PyQt4.Qt import QByteArray; bytearray(QByteArray(b''))" This causes a hang with PyQt 4.8.2 but not with PyQt 4.8.1 (sip 4.13.3) Kovid. On Sat, Jun 23, 2012 at 10:26:08PM +0100, Phil Thompson wrote: > On Sat, 23 Jun

Re: [PyQt] ANN: PyQt v4.9.2 and SIP v4.13.3 Released

2012-06-23 Thread Kovid Goyal
On Sat, Jun 23, 2012 at 10:26:08PM +0100, Phil Thompson wrote: > On Sat, 23 Jun 2012 21:53:48 +0530, Kovid Goyal > wrote: > > On Sat, Jun 23, 2012 at 01:36:42PM +0100, Phil Thompson wrote: > >> Hmm, hardly anything has changed in PyQt4. Can you try using the... > >> > >> qpy/QtCore/qpycore_pyqtpr

[PyQt] Combo box very slow for Thai language data.

2012-06-23 Thread Sukit Taweesap
Hi Sorry if I use wrong English. I found that the combo box with drop down list will be very slow when click the combo box, the drop down list need a few second to show if the data on the list was Thai language. But the English data was no problem. This problem occur after PyQt version 4.8

Re: [PyQt] Issue building PyQt4 4.9.2 on Mac OS X Lion

2012-06-23 Thread Santiago Reig
> Edit the initialisation of qt_macx_spec in configure.py and change it from > 'default' to 'macx-g++'. That seems to have fixed it. Regards. Santiago Reig ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/l

Re: [PyQt] Issue building PyQt4 4.9.2 on Mac OS X Lion

2012-06-23 Thread Phil Thompson
On Sat, 23 Jun 2012 17:06:30 +0200, Santiago Reig wrote: >> I tried to build latest PyQt4 on Mac OS X Lion without success. The >> command >> >> python3 configure.py --verbose >> >> gives this output. >> >> Determining the layout of your Qt installation... >> /usr/bin/qmake -spec default -o qtdirs

Re: [PyQt] Issue building PyQt4 4.9.2 on Mac OS X Lion

2012-06-23 Thread Santiago Reig
> I tried to build latest PyQt4 on Mac OS X Lion without success. The command > > python3 configure.py --verbose > > gives this output. > > Determining the layout of your Qt installation... > /usr/bin/qmake -spec default -o qtdirs.mk qtdirs.pro > Error: /usr/bin/qmake failed to create a makefile. M

[PyQt] Issue building PyQt4 4.9.2 on Mac OS X Lion

2012-06-23 Thread Detlev Offenbach
Hello, I tried to build latest PyQt4 on Mac OS X Lion without success. The command python3 configure.py --verbose gives this output. Determining the layout of your Qt installation... /usr/bin/qmake -spec default -o qtdirs.mk qtdirs.pro Error: /usr/bin/qmake failed to create a makefile. Make su

Re: [PyQt] Extending configure.py/siputils.py to pass CPPFLAGS

2012-06-23 Thread Scott Kitterman
On Saturday, June 23, 2012 10:15:13 AM Phil Thompson wrote: > On Sat, 23 Jun 2012 10:07:02 +0100, Andrew Suffield > > wrote: > > On Sat, Jun 23, 2012 at 09:57:56AM +0100, Phil Thompson wrote: > >> Why? Does Debian need it to be called CPPFLAGS specifically rather than > >> the already supported C

Re: [PyQt] Extending configure.py/siputils.py to pass CPPFLAGS

2012-06-23 Thread Phil Thompson
On Sat, 23 Jun 2012 10:07:02 +0100, Andrew Suffield wrote: > On Sat, Jun 23, 2012 at 09:57:56AM +0100, Phil Thompson wrote: >> Why? Does Debian need it to be called CPPFLAGS specifically rather than >> the already supported CXXFLAGS? > > I'm going to guess that you've made the common mistake. CPP

Re: [PyQt] Extending configure.py/siputils.py to pass CPPFLAGS

2012-06-23 Thread Andrew Suffield
On Sat, Jun 23, 2012 at 09:57:56AM +0100, Phil Thompson wrote: > Why? Does Debian need it to be called CPPFLAGS specifically rather than > the already supported CXXFLAGS? I'm going to guess that you've made the common mistake. CPPFLAGS is the preprocessor flags, not the C++ compiler flags. Hence i

Re: [PyQt] ANN: PyQt v4.9.2 and SIP v4.13.3 Released

2012-06-23 Thread Phil Thompson
On Sat, 23 Jun 2012 12:02:36 +0530, Kovid Goyal wrote: > I find that with PyQt 4.9.2 and SIP 4.13.2 or 4.13.3 calls to > QMainWindow::saveState freeze in *some* circumstances. Reverting to PyQt > 4.9.1 fixes the issue. The freezes are happening in a closeEvent > handler (linux 64bit, Qt 4.8.2, com

Re: [PyQt] Extending configure.py/siputils.py to pass CPPFLAGS

2012-06-23 Thread Phil Thompson
On Fri, 22 Jun 2012 18:45:27 -0400, Scott Kitterman wrote: > In order to support Debian's goal to have a common set of default build > flags > for the distribution (with a particular focus on hardening related > changes), I > need to pass CPPFLAGS through configure. > > I came up with the attac

Re: [PyQt] Compiling PyQt 4.9.1 with SIP 4.13.3

2012-06-23 Thread Phil Thompson
On Fri, 22 Jun 2012 22:47:27 +, 拉佛 薩 wrote: > Hi All, > I'm having a trouble compiling the PyQt 4.9.1 against SIP 4.13.3. Why not 4.9.2 (although it shouldn't make any difference to your problem)? > I'm > getting the following error during the compilation: > > PyQt-x11-gpl-4.9.1/sip/phonon/