If it is likewise possible to embed Qt inside an application, I'd love to see the resulting product.
Of course it is, it's called a static library. Every program can be prepared that way.
And the MSVC redistributable doesn't qualify under this rule because it's included with Windows.
Is it? Because as far as I know visual studio got lots of redist versions, even within one compiler version. Have a look at C:\Windows\WinSxS.
Those all are MFC/ATL/stdc++ redists you got, and believe me, NOT all of them are included with windows. I'll tell you more. Not all of them are available as separate downloads from microsoft site. Some are only in security updates available if you got previous version installed. To backup what i say take this:
VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053
This is the latest VS80 redist. You can't download this redist from anyware but security updates through windows update. Image the hassle you get when you have this installed for VS2005 (it's in VS2005 SP1 ATL security update) and compile with it and your end user doesn't. People normally don't know those things because lots of programs they install put VS redists in various versions without even asking. But not all of them are included in windows.
(all of that is based on windows XP, I don't use newer versions but I'd suppose it's the same, the may have redists included, but only ones that were released prior to windows release).
@Tomo:
Got you output, it's becase of GNU extension I used, forgot that VC doesn't like it. You basically can't do something like this:
int n = 5;
char string[ n ];
I don't usually use that, but with Qt wchar to QString conversion where you can't specify your buffer size it's the fastest way to avoid buffer overflow. Simple change to new/delete will do.