In windows you can run windeployqt.exe to approximate the library, qml, and plugin dependencies of a Qt application.
In Linux I can use ldd to determine library dependencies, but I have not found a way to establish which additional Qml files need to be present as well as which plugins I should include in my installer. Any suggestions?
0 The simplest way to use windeployqt is to add the bin directory of your Qt installation (e.g. <QT_DIR\bin>) to the PATH variable and then run: windeployqt <path-to-app-binary> If ICU, etc. are not in the bin directory, they need to be in the PATH variable.
There is the linuxdeployqt project on github, which can be helpful.
From looking at linuxdeployqt code it seems:
Scan qml files in qmldirs for import statements, deploy used imports from Qml2ImportsPath to ./qml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With