restore qt compilation