vs2019 compile zxing cpp source code
1. Download the source code from zxing official website, the official website address https://github.com/nu-book/zxing-cpp
2. Run cmake as an administrator, the cmake version is 3.20.4, select the zxing-cpp source code, and formulate the compiled folder path, see the following figure for details:
3. Click Configure in the above picture, select the compiled ide, I choose vs2019 here, and select the platform, I choose x64 here, and then camake starts compiling
Here will report qt5 error, don’t need to care about it, it will be like this after compiling,
finally click Generate, and the vs2019 project zxing.sln will appear in your compiling directory