I am looking for any tutorials or information on compiling Qt 4.7 with Visual Studio 2010.
I've recently have run into an bug using Qt 4.7.1 libraries on Visual Studio 2010 and have found information that recompiling Qt with 2010 can potentially solve it. Edit: This has solved the issue.
After Researching for awhile, I was successfully able to compile Qt in VS2010 using the following:
Compile:
- set QMAKESPEC=win32-msvc2010
- configure -platform win32-msvc2010
- nmake
Integration to VS2010:
- Download Visual Studio Qt add-in and install
- Select from menu: Qt/Configure Qt Versions.
- Add new version to point to compiled binaries
- Restart Visual studio and rebuild projects.
Hope this helps others...
Further Refs:
http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/ http://blog.paulnettleship.com/2010/11/11/troubleshooting-visual-studio-2010-and-qt-4-7-integration/ http://dcsoft.wordpress.com/2010/01/30/how-to-setup-qt-4-5-visual-studio-integration/
Note: recompiling for VS2010 fixed bug experienced above.