QtCommercial Standalone Exe
I'd like to apologize ahead of time if this has already been covered.
I made a project and I'd like to be able to distribute my executable as a standalone EXE. When I build it in the release mode I get the EXE but has missing dlls. I copy the necessary DLLs into the directory with my executable and it runs (great!). However, when I put the executable and necessary DLLs on another machine that does not have QtCommercial, I get a MS VS C++ RunTime error.
I did some searching and saw some articles about statically linking Qt libraries.
Is there another way to do this without linking? I was lead to believe that if one has the commercial version, they wouldn't have to deal with statically linking libraries and everything else.
Any assistance would be greatly appreciated.
[quote]I was lead to believe that if one has the commercial version, they wouldn’t have to deal with statically linking libraries and everything else.[/quote]
Well, you've been lead wrongly ;)
There are many ways out. You can bundle VC redist into your installer (as most companies do - try installing basically any game on Windows and you'll notice the runtime installer being spawned).
Or you can use MinGW instead of MSVC - it does not require any runtime, AFAIK (I should point out that I'm using Linux myself, I can be very wrong about MS at times).