question about windeployqt.exe
-
Hello
I'm pretty new to QT and have a question about windeployqt.exe. This app found all dependencies for one of my applications, so it starts fine.
Just for fun, I let it run over another application which already starts without problems on computers where qt is not installed. After this application finished it told me I would need the folder bearer with the file qgenericbearer.dll and the folder translations. For what are these files? It seems that windeployqt thinks I need them but the application is running without them too.
thanks in advance
Anna -
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 . -
@DeveloperDeveloper35 I'm not sure. One possibility is that some of the DLLs your app is using use that one bearer DLL.
-
@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.