Use QVariant::toUrl() instead of QVariant::value<QUrl>()
... to avoid template instantiation. Found by clazy.