Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.6.0, 6.7.1
-
None
Description
Good afternoon everyone.
We are trying to use to copy the qt dependencies of the application not by manually calling windeployqt, but through the use of the corresponding cmake functions (i.e. , which are added by the qt library), namely:
qt_add_executable(... qt_add_qml_module(... qt_deploy_runtime_dependencies(... qt_deploy_qml_imports(...
and then called
cmake --install . --config Release --prefix ...
So, in comparison with what happens in the end after calling windeployqt, the result after the specified cmake commands in the qml directory lacks files:
*.qml *.qmltypes
For example, here are the contents of the directory qml/QtMultimedia/ after calling windeployqt:
qmldir quickmultimediaplugin.dll Video.qml plugins.qmltypes
and here are its contents after the specified cmake commands and the cmake –install call:
qmldir quickmultimediaplugin.dll
In this case, the application seems to launch and work, but there is a lot of functionality, perhaps we do not see something that may not work. Question: Are these files needed in the deployed application or not?
I am also attaching a simple example to test the behavior.