Re: [PyQt] Symbol not found: _sipQtConnect on Mac OSX 10.5

2009-03-28 Thread Damien Elmes
The build was successful, and the few example programs I tested run fine now. However, my app seems to be dying - it looks like some internal data is getting clobbered somewhere. An line like: import mymodule results in a TypeError: bad argument type for built-in operation The problem seems to

[PyQt] Re: QComboBox: display an item different from the chosen one in the QListView

2009-03-28 Thread TP
TP wrote: So I have tried to play with a lot of methods provided by QComboBox, without success (for example, currentText, setItemText, etc.). For those that are interested, or Qt beginners like me: by examining Qt C++ source code, I have finally found a solution: I have specialized paintEvent

[PyQt] Implementation of the editabletreemodel example

2009-03-28 Thread cyril Romain
Hi, Here is the PyQt implementation of the editabletreemodel itemviews example. The code was written from the C++ implementation, with space only inside. Feel free to make any necessary changes such as adjusting the header (copied from simpletreemodel.py example) or removing ui_mainwindow.py

Re: [PyQt] Symbol not found: _sipQtConnect on Mac OSX 10.5

2009-03-28 Thread Phil Thompson
On Sat, 28 Mar 2009 15:51:29 +0900, Damien Elmes reso...@ichi2.net wrote: The build was successful, and the few example programs I tested run fine now. However, my app seems to be dying - it looks like some internal data is getting clobbered somewhere. An line like: import mymodule

Re: [PyQt] Symbol not found: _sipQtConnect on Mac OSX 10.5

2009-03-28 Thread Phil Thompson
On Sat, 28 Mar 2009 13:01:53 +0900, Damien Elmes reso...@ichi2.net wrote: Found the bug. In the project files, you are doing CONFIG += ppc i386 as per the qmake docs, it should read CONFIG += ppc x86 This resulted in only the PPC half of the library being built, and thus missing

[PyQt] PyQt/SIP snapshots

2009-03-28 Thread Giovanni Bajo
Hello, is this a good moment to test SIP/PyQt snapshots against Qt 4.5.0? -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] PyQt/SIP snapshots

2009-03-28 Thread Phil Thompson
On Sat, 28 Mar 2009 13:46:48 +0100, Giovanni Bajo ra...@develer.com wrote: Hello, is this a good moment to test SIP/PyQt snapshots against Qt 4.5.0? Yes. I'm currently working on pyuic4 - everything else should be production ready. Phil ___ PyQt

Re: [PyQt] PyQt/SIP snapshots

2009-03-28 Thread David Boddie
On Sat Mar 28 12:57:12 GMT 2009, Phil Thompson wrote: On Sat, 28 Mar 2009 13:46:48 +0100, Giovanni Bajo rasky at develer.com wrote: is this a good moment to test SIP/PyQt snapshots against Qt 4.5.0? Yes. I'm currently working on pyuic4 - everything else should be production ready. I've

Re: [PyQt] PyQt/SIP snapshots

2009-03-28 Thread Phil Thompson
On Sat, 28 Mar 2009 21:16:31 +0100, David Boddie da...@boddie.org.uk wrote: On Sat Mar 28 12:57:12 GMT 2009, Phil Thompson wrote: On Sat, 28 Mar 2009 13:46:48 +0100, Giovanni Bajo rasky at develer.com wrote: is this a good moment to test SIP/PyQt snapshots against Qt 4.5.0? Yes. I'm

Re: [PyQt] PyQt/SIP snapshots

2009-03-28 Thread Giovanni Bajo
On Sat, 28 Mar 2009 21:16:31 +0100, David Boddie da...@boddie.org.uk wrote: On Sat Mar 28 12:57:12 GMT 2009, Phil Thompson wrote: On Sat, 28 Mar 2009 13:46:48 +0100, Giovanni Bajo rasky at develer.com wrote: is this a good moment to test SIP/PyQt snapshots against Qt 4.5.0? Yes. I'm

Re: [PyQt] Implementation of the editabletreemodel example

2009-03-28 Thread Phil Thompson
On Sat, 28 Mar 2009 11:48:41 +0100, cyril Romain c.rom...@laposte.net wrote: Hi, Here is the PyQt implementation of the editabletreemodel itemviews example. The code was written from the C++ implementation, with space only inside. Feel free to make any necessary changes such as adjusting

Re: [PyQt] PyQt/SIP snapshots

2009-03-28 Thread David Boddie
On Sunday 29 March 2009, Phil Thompson wrote: On Sat, 28 Mar 2009 21:16:31 +0100, David Boddie da...@boddie.org.uk * pyrcc4 now requires you to pass -py2 for Python 2.x code - this breaks existing build environments. Is there a way that it could figure out which version of Python it