Fix compilation with -DQT_NO_URL_CAST_FROM_STRING.
Summary: To make sure it doesn't happen again, set this flag globally.
Test Plan: make
Reviewers: ervin
Reviewed By: ervin
Subscribers: Zanshin
Differential Revision: https://phabricator.kde.org/D7358