title: Install tesseract + openCV Cmake C++
body: <p>I've been trying to install Tesseract under OpenCV for a very long time now.</p>
  <p>Earlier I built OpenCV using CMake-gui and connected Contrib successfully. Now I can use add. libraries.
  I have cloned tesseract and leptonica repasitories.
  And I tried to connect it in the same way as Contrib, but nothing came of it .... I also tried to install Tesseract OCR and added it to Path, in the console I can use the Tess OCR functions, but this also did not help me build Opencv + Tesseract.</p>
  <p><img src="https://i.stack.imgur.com/ie5mV.png" alt="enter image description here" /></p>
  <p>I am writing under QT 5.15. After building OpenCV, I was unable to run the CMake project in QT, so I built a Qmake file using include (&quot;libraries&quot;).</p>