windeployqt deploying many more DLLs and QtQuick things since Qt6
Unsolved
Qt 6
-
Hi,
I'm deploying an app using windeployqt.exe, which the following command lines (updated for Qt6):
windeployqt.exe --no-translations --webenginewidgets --websockets --openglwidgets --libdir dlls --no-compiler-runtime --plugindir qtplugins $BINARY
The app uses QML for tutorials in a
tutorials/
subdirectory. Since Qt6, I get way more DLLs deployed with this than with Qt5, in particular:- I get many Qt63DXXX.dll deployed, and not all of them can be removed with
--no-3dxxx
flags, - Many other DLLs I don't expect such as
Qt6Pdf
,Qt6QuickControls2
, etc. - I get tons of stuff in the
QtQuick
folder I would not get before. In Qt5, the QtQuick.2 folder contains 3 files, in Qt6, the same files with many subfolders.
These changes amount for about 50-60MB... I do understand that some new DLLs might be needed but most of them seems not.
Is there a way to reduce the amount of stuff deployed and get something similar to Qt5's windeploy?
- I get many Qt63DXXX.dll deployed, and not all of them can be removed with