I looked my .exe with Dependency Walker. Seems like Qt libraries are indeed of need of many other libraries.
For example I have to use QtWebKit in my project, but I don't use any sql, multimedia (sound etc.) or qml at all. But Dependency Walker shows me that Qt5WebKit.dll is dependent of Qt5Quick.dll, Qt5Multimedia.dll, Qt5Qml.dll and Qt5Sql.dll. This totally sucks.
Also when I include QtWebkitwidgets.dll it want's me to add also Qt5Opengl.dll which wants me to include Qt5Printsupport.dll along my executable. I don't use any opengl or print functionalities at all.
So does this mean that I have to surrender and copy all those, I think unnecessary, .dll files to my executable folder because some other .dll files depend on them? Yes those files are not so big but there are so many of them. Also for example Qt5Opengl.dll and Qt5Printsupport.dll files in my application folder looks funny because my application shows only a web page in a dialog.
Bookmarks