Qt project fixes and cleaning