Fix crash on new project with Qt 5.14

Related to #494
1 job for master in 15 minutes and 28 seconds
Status Job ID Name Coverage
  Build
passed #28040
linux kf5-qt5 qt5.12

00:15:28

20.0%