try qt for dialog not working