fix qt build