Use QUrl instead of QString to better protect against wrong usage.

We expect a proper path given as a URL here. Just using QString makes
it really easy to mess up the WebKit internals, as shown on Windows
with PhantomJS and trying relative paths with backslashes...

Change-Id: Ibc6833d1682a2572d77991351a924d81680cfade