[qmlgallery] Change obsoleted dependencies.