+ setting the qt environment in the project settings (projects tab).

Thanks!