Qt OpenCV application working from editor but not working from exe

asked 2014-12-28 11:21:53 -0500

OrkunK gravatar image

Hi everyone. I have got a project about detection and did it with Qt 5.4 and OpenCV 2.4.9. I've finished it but I can't run it from exe file. When I used pre-built OpenCV libs, program is working video or picture is coming to Qt text label but recognition and drawing around objects is not seen or not happening, just video frames or picture is showing from text label. When I used my builts and try to open exe file first program giving me error about the required dlls (from OpenCV) then I am copying them after these, video is not coming to Qt text label, picture is coming but again there is no recognition and drawn around objects. Program is working from Qt Creator, video or picture is opening and then drawing around recognated objects. Why this happens? Thanks.

edit retag flag offensive close merge delete


It is about opencv_ffmpeg.dll. There's no warning about opencv_ffmpeg.dll like xx.dll not found but I found it with trying the whole libs respectively deleting one by one.

OrkunK gravatar imageOrkunK ( 2015-04-10 07:49:10 -0500 )edit