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.
Ref: http://www.qtforum.org/article/34406/heap-corruption-caused-by-calling-selectedindexes-method-of-qitemselectionmodel-class.html
After Researching for awhile, I was successfully able to compile Qt in VS2010 using the following:
Compile:
Integration to VS2010:
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.
In Microsoft Visual Studio, select Extensions > Manage Extensions > Online, and search for Qt Visual Studio Tools to install or update Qt VS Tools.
When comparing Microsoft Visual Studio vs Qt Creator, the Slant community recommends Qt Creator for most people. In the question“What are the best IDEs for C++ on Linux?” Qt Creator is ranked 1st while Microsoft Visual Studio is ranked 23rd.
You mean something like this?
Here is the official documentation.
I've used jom instead of nmake for faster compilation. Here is my step-by-step compilation guide: http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/
Qt V4.8.0 contains prebuilt binaries for Visual Studio 2010 so you don't need to build manually anymore: http://qt.nokia.com/downloads/windows-cpp-vs2010
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With