Fix build with Qt 5.15
Hey, The Qt Company, how about stopping breaking builds?
(cherry picked from commit d1484812b588e30f5bf5e8d6bd023e483d94186a)