Compiling Qt 4.X.X is not possible with vs2012 without making changes in the source code and mkspecs. No solution as of now to compile with -webkit. Follow this post http://qt-project.org/forums/viewthread/17771