I have created a project in Qt creator using C++ and QML on windows. I need to deploy my project as shared library, so I am using the windeployqt tool. Following are the steps followed:
- Build the project in release mode without shadow build option selected.
- Copied only the executable in a separate folder , path: D:\Deploy
- In command prompt navigate to D:\Deploy and used the below command: D:\Deploy>windeployqt --qmldir 'path to project qml files' --release app.exe
- This tool adds all the dependent files and required dll's as seen in the screenshot.
Deploy folder after executing above command:

- When I double click on the app.exe in the D:\Deploy folder, it open up only a blank window.
Kindly suggest what is wrong in the process. The app executes fine in release configuration in Qt creator.