Here's a very interesting link I came across from December of 2015, which claims:
“The MoD can confirm that Windows XP will not be used by any onboard system when the [HMS Queen Elizabeth] becomes operational,” the spokesman added. “This also applies to HMS Prince of Wales.”
https://www.theregister.co.uk/2015/12/18/windows_for_warship...