update .vcproj and fix a compile error in QT 4.X