Re: [PyQt] [Mac] PyQt5 and Qt5.1.0 beta 1 - NameError: global name 'QApplication' is not defined

2013-05-20 Thread Chris Roebuck
Thanks all On 20 May 2013 22:12, Phil Thompson wrote: > On Mon, 20 May 2013 20:03:16 +0100, Chris Roebuck > wrote: > > Using osx 10.8.3 I installed Qt5.1.0 beta1 using the binary installer, > then > > built sip 4.14.7 dev snapshot and PyQt5 against Qt5.1.0 beta1 > > > > Using python3 I'm getti

Re: [PyQt] [Mac] PyQt5 and Qt5.1.0 beta 1 - NameError: global name 'QApplication' is not defined

2013-05-20 Thread Phil Thompson
On Mon, 20 May 2013 20:03:16 +0100, Chris Roebuck wrote: > Using osx 10.8.3 I installed Qt5.1.0 beta1 using the binary installer, then > built sip 4.14.7 dev snapshot and PyQt5 against Qt5.1.0 beta1 > > Using python3 I'm getting the following error when I try to run this simple > script: > > #!/

[PyQt] [Mac] PyQt5 and Qt5.1.0 beta 1 - NameError: global name 'QApplication' is not defined

2013-05-20 Thread Chris Roebuck
Using osx 10.8.3 I installed Qt5.1.0 beta1 using the binary installer, then built sip 4.14.7 dev snapshot and PyQt5 against Qt5.1.0 beta1 Using python3 I'm getting the following error when I try to run this simple script: #!/usr/bin/env python from PyQt5.QtCore import * from PyQt5.QtGui import *

[PyQt] Eric5 Tutorial problem

2013-05-20 Thread al
Hi folks, working on the Eric tutorial http://eric-ide.python-projects.org/tutorials/LogParser/index.html I ran into trouble: "object has no  attribute retranslateUi" I know that I have a newer Code Generator PyQt4 UI code generator 4.4.2 <-> 4.10.1. When I use the tutorial files which I hav