Visual C++ 2010 Express: How to use with Qt? -


i'm confused getting qt working visual studio express. of searches online have turned instructions compiling qt using instructions such as:

  • install msvc2005 or msvc2008
  • install recent platform sdk (@ msdn: "platform sdk windows server 2003 r2")
  • from platform sdk, you'll need install @ least base + internet options
  • then, download , extract recent snapshot or preview release d:\qt\4.x.x
  • open console msvc settings loaded (see msvc tools-menu) , go qt directory
  • type "configure -platform win32-msvc2005" without quotation marks
  • that build project files you'll need
  • after that, it's simple running "nmake" , drinking lot of coffee

then, add d:\qt\4.x.x\bin , d:\qt\4.x.x\lib path environment variable, , you'll able use version of qt everywhere on system. latter added library section in options msvc well.

(from http://www.qtcentre.org/threads/11710-visual-studio-2005-express)

however, when go download page of qt (http://qt.nokia.com/downloads), there download visual studio labeled: "qt libraries 4.7.1 windows (vs 2008, 228 mb)"

i'm confused, still need build it? or built?

using downloadable exe qt (http://get.qt.nokia.com/qt/source/qt-win-opensource-4.7.1-vs2008.exe) not seem work visual studio 2010. tried building simple hello world program command line not run. i'll repeat comment previous answer.

i tried hello world example doc.qt.nokia.com/4.7/gettingstartedqt.html. able build project , exe generated. however, exe fails run , generates system error dialog box "side-by-side configuration incorrect...". ran sxstrace , says:

... info: begin assembly probing. info: did not find assembly in winsxs. info: attempt probe manifest @ c:\windows\assembly\gac_32\microsoft.vc90.debugcrt\ 9.0.21022.8__...\microsoft.vc90.debugcrt.dll. info: attempt probe manifest @ c:\qthello\debug\microsoft.vc90.debugcrt.dll. info: attempt probe manifest @ c:\qthello\debug\microsoft.vc90.debugcrt.manifest. info: attempt probe manifest @ c:\qthello\debug\microsoft.vc90.debugcrt\microsoft.vc90.debugcrt.dll. info: attempt probe manifest @ c:\qthello\debug\microsoft.vc90.debugcrt\microsoft.vc90.debugcrt.manifest. info: did not find manifest culture neutral. info: end assembly probing. error: cannot resolve reference microsoft.vc90.debugcrt,processorarchitecture="x86", publickeytoken="...",type="win32",version="9.0.21022.8". error: activation context generation failed. end activation context generation. 

to me, looks trying use vs2008 (which don't have). makes sense guess since download vs2008.

i in process of compiling qt 4.7.1 using instructions in question (using win32-msvc2010 platform target however) asked question , compilation finished. rebuilt hello world project , exe runs. seems answer in order use visual studio express 2010 need compile (at least until qt releases vs2010 download option). however, believe if using vs2008 not need compile.


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -