My Qt application depends on Oracle DLLs to start. As it's linked statically for the most part (except for these DLLs), I'd like to embed the DLLs and the EXE into a launcher that would behave like a fully static application (one exe, no DLLs to take along).
The launcher would extract the included files in a temp directory, launch the software, and clean up when done.
I've tried to embed the EXE and the Oracle DLLs (around 30 MB) in the launcher using Qt resource system, but the compiler (MSVC 2005) fails with
fatal error C1001: An internal error has occurred in the compiler.
Is there a size limit for resources included with Qt's resource system (or do I abuse it by including such large files in my executable)?
Limit comes from compiler, as error says it is INTERNAL compiler error. So compiller couldn't handle it. You could try to walkaround it, by splitting bigger files in to small parts and manualy put them together in your code. I'm not sure if it will work, but it is worth trying.