Merge "Fix setLayerCursorPosition Test" into qt-dev