We need to destroy the SDL window before we can be sure that Qt can draw to the screen if we used KMSDRM.