Oops, missed ifdef'ing a use of reportAdditionalMemoryCost based on Qt version.