## Compiling qt with VC++

Created by Alin Brindusescu on 2011-01-18 04:36:56

Some weeks ago I had some problems compiling last versions of Qt libraries (4.6.x and 4.7.x, GPL version)with VC++. And this is the solution I found for getting them compiled. In command line:

```
# vcvars32.bat
# cd c:\Qt\qt

delete the src/script/tmp/moc/(debug/release)_shared/mocinclude.tmp

# configure -platform win32-msvc2005 -no-webkit -debug-and-release -opensource -shared -no-qt3support
# nmake
```

Note: I have unpacked the qt files under the C:\\Qt in your case this can be different.

Comments: work in progress!