Forgot about updating .pro file and adding include QUrl.