Future-proof the Qt platform detection