Solved Deployed Qt application finishes immediatly after start
-
I'm developing app in Windows, Desktop Qt 5.11.2 MinGW 5.3.0 32bit
In order to share my application i did following:- Made release build
- Copied .exe file to new directory of my package
- run windeployqt.exe with --release option
After that, when I'm trying to run my app nothing happend. I assume the app finishes right after start.
It works fine, when I start it from QtCreator, but when I run app manually it seems just stops without any error. -
Hi,
Use Dependency Walker or similar to check whether a .dll has been missed (for example the MinGW runtime).
-
@FedorKozlov
do you use QML in your app ? If yes you'll have to tell the deployment tool where to find the files, to search for and copy the qml dependencies -
Make sure your platform plugin is at the expected path
plugins/platform/
, it's the most likely cause for a Qt app to fail to launch silently. -
@J.Hilk
Thank you! That's the reason