Thanks a lot.

Quote Originally Posted by jpn View Post
I meant to run that command in the project directory, not in Qt installation directory. That's the command to generate a Visual Studio project out of a qmake project file. That's how you created the Visual Studio project in the first place, right?
I reinstalled MinGw with following components,
* MinGW base tools
* G++ compiler
* MinGW make

then I changed the path and type in VC command prompt
1. qmake -project
2. qmake
3. make
It work out now.