I usually build OpenCV with the BUILD_opencv_world option which makes it quite easy to configure my Qt projects and work fast. But when it comes to deploying OpenCV powered applications, I still prefer to use the modular and default OpenCV build in order to deploy only the required DLLs and end up with a smaller installer file size.
Continue reading “Configuring Qt for Windows Projects to Use OpenCV 4.1.0”Adding External Libraries to Qt Projects
As simple as it sounds, most of the time it’s a hassle to add the required libraries to your Qt projects. You have to add the include path, the libraries and if you are aiming to have a cross-platform project, you need to account for Windows, macOS and Linux operating systems separately. Well, there are a couple a methods to simplify this a bit which I’ll describe in this tutorial.
Continue reading “Adding External Libraries to Qt Projects”
Adding Required Includes and Libs for OpenCV 3.4.1 in qmake Projects
Here is what you need to add to your Qt qmake projects to be able to add and use OpenCV 3.4.1 default set of libraries. I usually add them into a separate *.pri file and include that in my *.pro files to avoid repetition, but that’s up to you. Well, here it is:
Continue reading “Adding Required Includes and Libs for OpenCV 3.4.1 in qmake Projects”OpenCV + Qt + Android, Adding Required Libraries and Includes
Another note to myself which I hope will be useful for others searching it.
Add the following lines to your PRO file in Qt, or create a PRI file using the following and include that in your PRO file.
Continue reading “OpenCV + Qt + Android, Adding Required Libraries and Includes”