Well it does seem to work fine in Release builds. Only for some reason it seems to link against the Debug msvc 2008 runtime for Debug builds (which I don't have anymore since I uninstalled msvc 2008).
Well it does seem to work fine in Release builds. Only for some reason it seems to link against the Debug msvc 2008 runtime for Debug builds (which I don't have anymore since I uninstalled msvc 2008).
... Which obviously is the reason why I opened this thread in the first place.
I'm not asking if the addin is supported - since it clearly seems to be if Release builds work fine and the installer had the "vs 2010" option next to the other releases - I'm asking WHY it doesn't work. Does the addin use some libraries which were linked against 2008 debug runtimes by mistake? Did I misconfigure Qt somehow? Something else with my system? I really shouldn't need any 2008 debug runtimes (besides the only way to get those would be to install vs2008 which would be kinda stupid) to use Qt with visual studio 2010...
tl;dr: Is it the addin's fault or mine, and what is it exactly?
Most likely you have some remnants of Qt built for MSVC2008 or VS2008 itself. But I'm still not convinced VS2010 is supported even though the installer claims so (it could be work-in-progress). Is it explicitly stated that VS2010 was supported in the readme or on the webpage you downloaded the add-in from?
I have no idea about why the VS add-in gives that error, but the add-in (version 1.1.7) works with VS 2010, i have it working on many systems.
Have you tried to re-install the add-in since you uninstalled the VS 2008?
Actually, I installed (and compiled) the SDK and the addin AFTER uninstalling VS 2008...
And yeah, I already tried reinstalling the addin and recompiling the SDK.
What do you need the SDK for? You only need Qt libs.
I had tried the framework only, but tried it with the full SDK as well since the framework explicitely says "VS2008" in the download description. Anyway neither of these two worked.
The "cleaner" build is if you download the Qt sources only (the link is to Qt 4.7.1).
I never had issues with building that.
Anyway here are my steps:
1) extract the zip file in C:\qt-4.7.1
2) navigate to C:\qt-4.7.1 with the VS cmd
3) configure.exe
4) nmake sub-src //this builds Qt framework
5) nmake sub-tools //this builds Qt tools (designer...)
6) nmake clean //delete the temporary files
7) install the VS add-in and select the Qt folder (C:\qt-4.7.1)
Tried that, still same error though.. :/
The add-in has a new version (1.1.8), you can give that a try.
Updated, still getting the same error.
Is there some way how I could at least find out which component is failing to load that debug runtime?
I'm getting a similiar error message by the way if I'm trying to start any of the Qt programs compiled using the Debug configuration.
Bookmarks