[PyQt] QStateMachine won't start

Vincent Vande Vyvre vincent.vandevyvre at swing.be
Sun Jul 8 07:30:40 BST 2012


On 08/07/12 00:37, Itay Brandes wrote:
> Hey,
> I'm trying to start a QStateMachine and seem to fail.
>
> Here is my code: http://pastebin.com/mQmyva9K
> Where am i wrong?
>
> Thanks.
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
You must keep a reference of the machine.
    self.machine = QtCore.QStateMachine()

-- 
Vincent V.V.
Oqapy <https://launchpad.net/oqapy> . Qarte+7
<https://launchpad.net/qarte+7> . PaQager <https://launchpad.net/paqager>



More information about the PyQt mailing list