Unsolved question about windeployqt.exe
-
This post is deleted! -
To create that, You need to open Qt command prompt,in that give windeployqt.exe.
And copy .exe file alone in one folder,go to that folder and run windeployqt.exe --quick . -
@Sowjanya thats what I did and then I discovered, that windeployed genereates more files than I seem to need and I'm wondering why and if there is a way only to get the files that I really need. From 60 files I deleted 51 files that it copied to my folder and the application is still running.
-
@DeveloperDeveloper35
To run exe file alone in other computers requires dlls . -
@Sowjanya The question was: why does windeployqt add DLLs which are not required/used by the application...
-
@jsulm Thank you yes thats what I want to know. I tried my reduced set of files on another computer and it runs fine, so I need 51 files not but why are they collected by the tool
-
@DeveloperDeveloper35 I'm not sure. One possibility is that some of the DLLs your app is using use that one bearer DLL.
-
-
@jsulm But if this dll would be really used, then my software shouldn't work proper when I delete the dll. But it runs fine which indicates, that the dll is unused
-
@DeveloperDeveloper35 It depends. If a lib is loaded at runtime then your app can work without it as long as it is not used. This is how plug-ins work: the app is not linked at link time against the plug-ins, instead plug-ins are loaded at runtime dynamically.