I've installed qt add-in for VS2010 and when I try to "show" a path to Qt installed I'm getting an error that this ver of qt has been built with mingw. I get it, I've found similar question but when I tried to type in console 'configure' I'm getting error that configure isn't recognized.
How shall I overcome this problem?开发者_运维问答If you are using Qt with VC it's best to have built Qt with visual studio.
See How to build Qt for Visual Studio 2010
edit: Just unpack the sources, and from the visual studio command prompt do
configure.exe -platform win32-msvc2010 -no-qt3support -fast
Or you can just use the vs2008 libs, they will work with vs2010, you just can't mix Microsoft and gcc/mingw built libs.
Follow this explanation:
How to build Qt for Visual Studio 2010
And then everything will work (once you set up your Qt paths of course).
Thats because the way Qt is built by MinGW and VS is different and has different files.
You have to download Qt source code. Click Start and search for Visual Studio 2008 command prompt or 2010 command prompt.
Go to Visual Studio Command prompt and navigate to Qt source code folder. Type
configure -platform win32-msvc2008 --> if you have VS 2008
or use configure -platform win32-msvc2010 for VS 2010
and after that is done, just type
nmake
Wait until its built (4 hrs) and that should fix it.
精彩评论