Move QtWebKit setup to its backend