We can only animate the opacity on X11, as QtWayland's platformwindow doesn't support this. Avoids warnings.