I read a lot of answers both here and elsewhere on the network, but I still can’t create / launch a small welcome world, for example, an application using VS2010 and the latest open-source Qt (4.7.2) for VS2008.
Here are the steps I took and, of course, rebooted where necessary:
- installed VS2010
- installed VS2010 SP1
- qt-win-opensource-4.7.2-vs2008.exe downloaded and installed
- qt-vs-addin-1.1.9.exe downloaded and installed
In VS2010, I now have project templates for Qt. I selected the QT application, accepted by default, and created it. At first, he did not find the QTDIR folder. Therefore, I ran c: \ Qt \ 4.7.2 \ bin \ qtvars.bat as an administrator, and now VS2010 has no problem building a project / detecting included files.
And here is where my knowledge ceased, I still can not run exe files created from the assembly. When you run the created exe files from Total Commander, it says:

and when starting from VS2010 it says:

Can you help me on what causes this problem and what is the possible solution for this? Does all this happen because Qt is compiled for VS2008 and am I trying to use VS2010? But I read it in many places that it should work well.
And if I need to recompile Qt for VS2010, then what is the best way to do this? I would like to create minimal OpenGL applications using Qt, what is the appropriate way to configure Qt in this case?
Shell: do I completely remove Qt and start from sources?