qt windows policy

fixed compiler crash