[qmlsettings] Port to qt5.