Hey,
i wrote 8 puzzle solver in C++ for gui i used QML, it works fine but when i want it to look good and i use NumberAnimation on x,y it looks good when user is moving puzzle but when algorithm is building path it can't keep up and it makes mess. I tried waiting for animation to finish
Qt Code:
  1. while(!previousItem->property("animationFinished).toBool){};
  2. moveItem(nextItem); // not actual code
To copy to clipboard, switch view to plain text mode 
and then move next element but it seems that this freezes whole gui so it never finishes the animation.
Any suggestions?