You need to distribute your Qt program but some files or missing.
This is by design but there is a tool to do the work for you.
To prepare for distribution you can use the windeployqt.exe tool.
The tool can be used to collect all the needed platform information an copy it into the executable directory. This can be colledted to generate a MSI project.
If you call the application without parameters, the help information will be presented.
Here the first part of the help:
Usage: windeployqt.exe [options] [files]
Qt Deploy Tool 6.2.2
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:
If ICU, etc. are not in the bin directory, they need to be in the PATH
variable. If your application uses Qt Quick, run:
windeployqt --qmldir <path-to-app-qml-files> <path-to-app-binary>
Disclaimer:The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
About the Author
Author: Wim Peeters - Keskon GmbH & Co. KG
Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.
Latest update: 02.05.2022 | Comment: