Add include for QtGlobal to ensure OS global has been defined