On Wed, 3 Oct 2012 17:57:39 +0100, Robert Kent <r...@gulon.co.uk> wrote:
> HI All,
> 
> I'm trying to implement a QtScript debugger but am unable to install a
> QScriptEngineAgent on a QScriptEngine. A much simplified example of what
> I'm doing is shown below:
> 
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *
> from PyQt4.QtScript import *
> 
> if __name__=="__main__":
>     from sys import argv
>     a=QCoreApplication(argv)
>     engine=QScriptEngine()
>     agent=QScriptEngineAgent(engine)
>     engine.setAgent(agent)
> 
> The last line line causes a "Segmentation fault: 11". I'm using PyQt
4.9.4
> with Python 2.7.2 on Mac OSX Mountain Lion. Any thoughts, help or
> suggestions would be greatly appreciated.

Bugs I'm afraid. Fixed in tonight's snapshot - you'll need the SIP
snapshot as well.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to