Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
openCV & Qt
TizUbuntu last edited by
Good morning and excuse me for this question.
I would like to use openCV in Qt.
I have tried several solutions but I cannot use these libraries in my project.
I state that the current situation is as follows:
- Windows 10 64bit
- Qt creator 4.11.0
- openCV libraries ver. 3.49 installed from a precompiled package distributed by the official openCV website.
How can I correctly configure openCV to be able to use it?
I thank all those who will help me in advance.
Pl45m4 last edited by
What do you have so far? Any errors? Is OCV installed properly?
If this is the case, you need to set your lib-paths in your .pro file
INCLUDEPATH += OCV-PATH-HERE LIBS += OCV-LIBS HERE (Path to .dll's)
Then you need to include the OCV files in your headers or code files
#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp>
Pablo J. Rogina last edited by
BTW, is there a compelling need to use OpenCV 3.x?
Release 4.20 is available as of now