[qt] replace QTimer usage with invokeMethod