Merge "[DO NOT MERGE] Return correct offsets for getAttributeRange()" into qt-qpr1-dev