Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.6.0, 6.7.1
-
None
Description
I'm creating a simple application from Qt Creator templates (Widgets). I compile and call windeployqt with the --compiler-runtime parameter. In this case, only the following libraries are copied:
generic\
imageformats\
networkinformation\
platforms\
styles\
tls\
translations\
D3Dcompiler_47.dll
Qt6Core.dll
Qt6Gui.dll
Qt6Network.dll
Qt6Pdf.dll
Qt6Widgets.dll
However, I thought that when using the specified parameter, Windows system libraries should also be copied, for example vcruntime* msvcp* api-ms*, etc. Without specifying this command line option, the exact same files are copied.
If I configure deployment via cmake commands as per the documentation in the links:
https://doc.qt.io/qt-6/qt-generate-deploy-app-script.html
https://doc.qt.io/qt-6/qt-deploy-runtime-dependencies.html
after which I assemble and call the install command, for example like this:
cmake --install . --config Release --prefix c:/untitled2
then the system libraries are also not copied, the list turns out like this:
generic\
iconengines\
imageformats\
networkinformation\
platforms\
styles\
tls\
translations\
D3Dcompiler_47.dll
opengl32sw.dll
Qt6Core.dll
Qt6Gui.dll
Qt6Network.dll
Qt6Pdf.dll
Qt6Svg.dll
Qt6Widgets.dll
I am attaching an archive with the source code of the minimal project for verification.