Changes required for new QtWayland.