Use the new QPlatformNativeInterface native resource function getter