Hi there,
I just installed the Qt4 VS addin (i.e. built Qt 2010.05 from source via nmake and then ran the addin installer) but now I'm getting this error when I try to start Visual Studio 2010:
qtfail.png
The first line means something like "Couldn't register all Qt4VSAddin commands : File or assembly "stdole, Version=..." or one of its dependencies couldn't be found. File not found.
At
..."
When I click "OK" in that dialog VS starts up fine and the Qt stuff seems to be in place. Even compiling works, but when I try to run one of my compiled programs, I'm getting this error (rough translation):
"This applicaton couldn't be started, because the side-by-side configuration is invalid. See application event log for more information. More details can be viewed using the command tool sxstrace.exe."
Did I miss some installation step or is this problem otherwise already known? I'm happy to share any other necessary information, just let me know if you need it.
Thanks in advance!
EDIT:
I just looked into the event log, and it says something like
"Error at generating the activation context for "C:\Users\user\Documents\Visual Studio 2010\Projects\testqt4addin\testqt4addin.exe". The dependent assembly "Microsoft.VC90.DebugCRT,processorArchitecture="x8 6",publicKeyToken="1fc8b3b9a1e18e3b",type="win32", version="9.0.21022.8"" could not be found."
there .. guess I somehow removed that thing when I uninstalled VS 2008 and stuff is still depending on it... I'll further investigate into this problem, any advice would be appreciated though.
EDIT2:
I just realized that Release builds work fine (which kinda makes sense).
Right now I'm rebuilding Qt with -debug-and-release (rather than -release only), maybe that'll do the trick...
EDIT3:
Okay, that STILL didn't help me fixing the error...
What I just don't understand is why I'm getting an error about the VC++ 2008 runtime although I (think I am?) compiling with the 2010 compiler...
Bookmarks