Reputation: 7588
Using windeployqt, many files dlls etc will be copied to same folder of the EXE. Is it possible to set so that these dlls are put in another folder so that only EXE file exist in the main program folder?
I tried to manually cut and paste, but of course the EXE becomes non executable after that. I want to do this so that it looks neater and idiot proof because I want to give this app to somebody else to use.
Upvotes: 0
Views: 88
Reputation: 142
Windows has it's own DLL search resolve path. You can read the whole document here. I have never experimented with it, but what comes up on my mind is using some kind of wrapper executable that will either
Keep in mind this is kinda hacking. In windows systems it is completely normal to have an exe with like quadrilion .dlls next to it. User rarely runs exe itself, user will probably use some kind of app shortcut
Upvotes: 1