I tried again on another development PC, installed Qt like this in the VC2008 command window:

configure -static -release - no-webkit
nmake sub-src

So no static debug libraries were built.

Now I could build the release app and it finally worked at the target PC.
So far so good.

However, I failed to make the (same) VC project build a debug shared app, since the settings in the VC debug configuration was not properly set for this.
I had previously built Qt shared in the development PC so the shared libs were there also.
Is it possible to have a single VC project with both shared(debug) and static(release) builds?

And if it is, is it possible to have this generated by a single .pro file by qmake (with TARGET vcapp)?


In general, how does one usually set up the Qt/vc environment for shared debugging and static deployment?