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.

Cheers, Rob


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

Reply via email to