Hello,
I have the following code:
[...]
if __name__ == "__main__":
import sys
qApp = QApplication(sys.argv)
#machine = StartupStateMachine()
machine = QStateMachine()
#QObject.connect(machine, SIGNAL('finished()'), QApplication.instance(),
SLOT(quit()))
QObject.connect(machine, SIGNAL('finished()'), qApp, SLOT(quit()))
machine.start()
#sys.exit(qApp.exec_())
qApp.exec_()
when run the state machine is not even started and the qApp exits immediately.
what is happening?
PS: looked at code for meego...
http://apidocs.meego.com/1.1/core/html/qt4/statemachine-api.html
I am using Qt4.6
--
Emmanuel
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt