Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-11 Thread Theuns Heydenrych
Thanks Phil I have taken MSys out of the loop. Its only Mingw32 now. I get sip successfully compiled and installed. When running python in the command line and i enter * * *>>> from sip import ** *>>> print SIP_VERSION_STR* *4.14.3 * *>>>* * * I also get PyQt-win-gpl-4.9.6 successfully compiled an

Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-11 Thread Phil Thompson
On Mon, 11 Mar 2013 09:21:33 +0200, Theuns Heydenrych wrote: > Thanks Phil > I have taken MSys out of the loop. > Its only Mingw32 now. > > I get sip successfully compiled and installed. > When running python in the command line and i enter > * > * > *>>> from sip import ** > *>>> print SIP_VERSI

Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-11 Thread Theuns Heydenrych
Thank for the reply Phil, I get a Windows Dialog that shows up that says "Python has stopped working" and a button that shows the problem details. Here is the info for that. *Problem signature:* * Problem Event Name: APPCRASH* * Application Name: python.exe* * Application Version: 0.0.0.0* *

Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-11 Thread Phil Thompson
On Mon, 11 Mar 2013 11:22:45 +0200, Theuns Heydenrych wrote: > Thank for the reply Phil, > > I get a Windows Dialog that shows up that says "Python has stopped working" > and a button that shows the problem details. > Here is the info for that. > > *Problem signature:* > * Problem Event Name: A

[PyQt] QTextBlockUserData forgotten in SIP 4.14.3, bug?

2013-03-11 Thread Wilbert Berendsen
Hi, It seems sip 4.14.3 forgets QTextUserData objects. when I do this (Python 2.7. after importing * from PyQt4.QtCore and QtGui): This is SIP 4.13.2 (and PyQt 4.9.3): >>> doc=QTextDocument() >>> print doc.firstBlock().userData() None >>> data=QTextBlockUserData() >>> data.value = 123 >>> doc.f

Re: [PyQt] QTextBlockUserData forgotten in SIP 4.14.3, bug?

2013-03-11 Thread Phil Thompson
On Mon, 11 Mar 2013 11:13:15 +0100, Wilbert Berendsen wrote: > Hi, > > It seems sip 4.14.3 forgets QTextUserData objects. > > when I do this (Python 2.7. after importing * from PyQt4.QtCore and > QtGui): > > This is SIP 4.13.2 (and PyQt 4.9.3): > doc=QTextDocument() print doc.firstBl

Re: [PyQt] QTextBlockUserData forgotten in SIP 4.14.3, bug?

2013-03-11 Thread Wilbert Berendsen
Op 11-03-13 15:01, Phil Thompson schreef: It's a PyQt bug - fixed in tonight's snapshot. Thanks. Users of my application (Frescobaldi) also have some problems that could relate to QTreeWidgetItems also losing their own instance attributes (even when using a subclass of QTreeWidgetItem). Could

[PyQt] Compiling PyQt on Windows with Mingw

2013-03-11 Thread Theuns Heydenrych
HI I get Sip and PyQt compiled successfully and get both installed. I am using Python 2.7 When executing *>>> from PyQt4.Qt import ** It just fails, i cant figure out what is going wrong where. I tried python -v to get more info, so here is what i get. *C:\Python27>python -v* *# installing zipi

Re: [PyQt] Compiling PyQt on Windows with Mingw

2013-03-11 Thread Phil Thompson
On Mon, 11 Mar 2013 20:01:51 +0200, Theuns Heydenrych wrote: > HI > I get Sip and PyQt compiled successfully and get both installed. > I am using Python 2.7 > > When executing > *>>> from PyQt4.Qt import ** > > It just fails, i cant figure out what is going wrong where. Define fail - you haven'

Re: [PyQt] QTextBlockUserData forgotten in SIP 4.14.3, bug?

2013-03-11 Thread Phil Thompson
On Mon, 11 Mar 2013 18:25:08 +0100, Wilbert Berendsen wrote: > Op 11-03-13 15:01, Phil Thompson schreef: >> It's a PyQt bug - fixed in tonight's snapshot. > Thanks. > > Users of my application (Frescobaldi) also have some problems that could > relate to QTreeWidgetItems also losing their own ins

[PyQt] QTreeWidgetItem also forgets its Python counterpart

2013-03-11 Thread Wilbert Berendsen
Hi, I am having a similar bug indeed in sip-4.14.3 / PyQt-4.9.6 where QTreeWidgetItem forgets its Python state when created with a QTreeWidget().invisibleRootItem() as parent. After importing * from PyQt4.QtCore and QtGui: >>> app=QApplication([]) >>> w=QTreeWidget() >>> class Item(QTreeWidgetIt