Qt 5 OpenCV windows deployment error
-
Hello everyone.
I am developing a image corrector app, using QT creator(Qt 5) and OpenCV libraries. I built OpenCV with Cmake, the works fine until try to deploy a release runnable version. For building I using MinGW and for deploying I am using the QT mingw deployment tool. This too,l works fine when I deploy non OpenCV based projects. I am an unexperienced developer and a bit confused where should I start to search the answer. When I try to run the executable in the release folder I got the following error message:The application was unable to start correctly (0xc000007b).
I would be grateful any kind of help. -
No, I tried it before posted here the problem. I also tried to check the problem with the "Dependencies" program, and as much I understand the UI it did not find any missing dll. I got the same error message, it behaves like I did not used the deployment tool.
-
Hi,
The output looks good.
Just in case, did you also check the OpenCV dlls to see if you have their dependencies as well ?
-
@SGaist I got the same results If I check the Qt based dlls and the opencv dlls, but i am sure the OpenCV part is the key, because I can deploy other non OpenCV based projects with the same method. Just do not understand what is the problem and how to debug it.
-
Did you try to replicate that with a minimal example that uses only a simple call from the OpenCV library ?