[Qt] Rollout r102769, because it broke Qt-4.8 builds.