MoveMachine compatible with Qt 5