windeployqt: Entry Point Not Found, The procedure entry point could be located
-
I'm deploying a QT/QML application in windows, I have two kits installed on my system, i.e. QT 6.0.4 and 6.2.3 and QT Creator version is 7.0.1
For deployment i followed these exact steps:
- Build app in release mode in QT Creator using 6.2.3 as my kit
- Opened cmd and use the below command
C:\Qt\6.2.3\mingw_64\bin\windeployqt.exe --qmldir <path/to/my/sourceCode> <path/to/my/bin>The above process copied some files (dependencies) in my <path/to/my/bin> and finished successfully.
After executing the bin file, it shows the below error messages
I think the windeployqt is choosing the wrong kit (?)
Any help would be appreciated.
P.S: Running app from QT Creator works
-
Okay, So i manually copied all *.dll files from *C:\Qt\6.2.3\mingw_64\bin* into my executable folder and now it runs fine.
The above approach means that windeployqt is not copying these dlls from the specified directory.
How to avoid these issues in future ?