Deploying Qt applications on windows, can be made with windeployqt.exe. It can be found in „C:\Qt\5.4\mingw491_32\bin“
1. Open CMD which is settet with Qt Environment
2. change to directory where your binary is.
3. Type the following command:
windeployqt.exe . –qmldir \project\folder\
„.“ = currentDirectory
„–qmldir“ = path where the qml files is. Your project folder
windeployqt.exe .\hcworkflow_Main\release –qmldir ..\hcworkflow\hcworkflow_Main\
4. Last step execute the command and you get this project structure.
Now you can zip it and share it with other
I had other libraries in my Project/build tree, which depends on QtSql and QtXml. I coppied the dll’s to my release folder and the libmysql.dll also. I didn’t found the command for defining the other libraries for my project and I must copy it manually.