Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to use onEnter() function inside the Qtstatemachine
AndreAhmed last edited by
now I have a state machine that uses the onEnter() override member function. Its's called once. and my state should do the logic inside the onEnter() until a condition that happens then I transito to the next state using addtransition. How to make a state that self working until a condition happens.
You don't do it like that. You create a custom transition that will do the work.