Qt buildfixes