Merge "Update the deprecated Slice APIs to the new ones" into qt-dev