Deploy Qt Quick Applications on Windows with windeployqt

Deploying Qt applications on windows, can be made with windeployqt.exe. It can be found in „C:\Qt\5.4\mingw491_32\bin“

Deploy Application

1. Open CMD which is settet with Qt Environment


2. change to directory where your binary is.

cd C:\path\to\folder\release


cd C:\Users\fecub\Documents\Qt.workspace\build-HCWorkFlow-Desktop_Qt_5_4_0_MinGW_32bit-Release

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.


2 Gedanken zu „Deploy Qt Quick Applications on Windows with windeployqt“

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:


Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s