Trouble building a FULL version of OpenCV (C++) with open source QT5

htartisan
Sun, 26 Oct 2025 20:58:58 +0000
C++

I have been trying to build a full version of OpenCV for C++/Windows/x86_64, that includes QT5 (open source) integration. (I want to use it to help me test some embedded software that I developed.) It has been a real headache!

It took me a while just to find the required sequence of dependencies and commands to get OpenCV to build without errors. I then found that in order to use the video frame rendering capabilities of OpenCV, I would need to create a C++ library build that included QT5. In order to do that, I needed to do a full build of the QT5 open source (for C++/Windows/x86_64). That turned out to be an even bigger headache. I finally have everything building, but now when I try to load one of my DLLs that are linked to OpenCV/QT5, the DLL fails to load. I have not yet figured out why.

Does anyone have any thoughts as to why?

7 posts - 2 participants