Fix build with old qt