How to Configure QT Environment to work with Visual Studio 2010
Could you please help me how to make QT work in VS2010? step by step please :)
i installed a fresh copy of windows and i have this files:
- Windows 7 Ultimate
- Visual Studio 2010 Ultimate
- qt-win-opensource-4.7.3-vs2008
- qt-vs-addin-1.1.9
Also i'm really confused, i found many ways to do this but all didn't work. Also i don't know why some download "qt-win-opensourc开发者_如何学Goe-4.7.3-vs2008" and then recompile it. Dose "qt-vs-addin-1.1.9" replace the recompiling step or what?
So please i need a help on how to install QT with VS 2010
The vs-addin does not replace recompiling but there's no need to recompile if you have pre-built Qt binaries (unless you want to change the configuration).
First install your pre-built binary package of Qt. If you've chosen to rebuild it, do that (you won't use the VS UI for this, it's all command-line based). Be sure you install this to a path that doesn't include any spaces in it... something like C:\qt\qt-4.7.3 perhaps.
Then install vs-addin, and start VS.
Now open the Qt menu, go to Qt options, and click Add to add a version. (You can install multiple Qt versions on your system this way if you wish.) Give the version a name of your own choosing, and specify the path to where you've installed it. Close out the options dialog.
Finally, create a new project and notice that the creation wizard has a section for Qt4 Project templates. Choose Qt application and you're well along your way.
精彩评论