2. Configure the OPenCV development environment in QT under the windows system

1. Description:

The configuration in the Windows system is relatively simple, and there is no need to compile the downloaded source code. The OPenCV downloaded from the official website can be used directly. The system version of this article is win10, and the latest version of opencv is 4.7.0.
Show results:
insert image description here

2. Configuration steps:

2.1 Download the OPenCV compressed package

Open the OPenCV download address of opencv's official website , and you can download the latest compressed package in its page, as shown in the figure below:
insert image description here
After the download is complete, find a drive letter in the Windows system where you installed the software, and create a file named opencv Folder, and put the downloaded **.exe** file into this folder. Although the downloaded .exe file is not an executable program, it is a compressed package, which only needs to be decompressed That's it, after decompression, you will get a new folder, as shown in the following figure:
insert image description here

2.2 Configure environment variables

Find the folder you just unzipped, and enter

Guess you like

Origin blog.csdn.net/FY_13781298928/article/details/131239445