Fix building against Qt >= 5.15.0-beta3

Authored by heikobecker on Apr 6 2020, 10:52 PM.