# Opencv webassembly

**URL:** <https://forum.opencv.org/t/opencv-webassembly/19843>\
**Category:** C++\
**Tags:** qt, build, programming\
**Created:** [January 22, 2025, 8:12am UTC](https://forum.opencv.org/t/opencv-webassembly/19843 "2025-01-22T08:12:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bcatherine](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@bcatherine](https://forum.opencv.org/u/bcatherine)\
**Post date:** [January 22, 2025, 8:12am UTC](https://forum.opencv.org/t/opencv-webassembly/19843/1 "2025-01-22T08:12:29Z")

</div>

debian 12  
qt 6.7.1  
Emscripten 3.50  
opencv 4.6.0

I have a QT project that plays a video in a QT interface and puts it in a label. In desktop compilation everything works normally, but in web assembly compilation an error appears in the cmake at the line:

find\_package(OpenCV reguired)

error:

By not providing “FindOpenCV.cmake” in CMAKE\_MODULE\_PATH this project has  
asked CMake to find a package configuration file provided by “OpenCV”, but  
CMake did not find one.

Could not find a package configuration file provided by “OpenCV” with any  
of the following names:

OpenCVConfig.cmake  
opencv-config.cmake

Add the installation prefix of “OpenCV” to CMAKE\_PREFIX\_PATH or set  
“OpenCV\_DIR” to a directory containing one of the above files. If “OpenCV”  
provides a separate development package or SDK, be sure it has been  
installed.

could you help me and thank you for your time

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [January 22, 2025, 6:25pm UTC](https://forum.opencv.org/t/opencv-webassembly/19843/2 "2025-01-22T18:25:23Z")

</div>

do you expect the Qt library to work in a browser?

---

<div class="post-metadata">

**Author:** ![bcatherine](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@bcatherine](https://forum.opencv.org/u/bcatherine)\
**Post date:** [January 22, 2025, 8:32pm UTC](https://forum.opencv.org/t/opencv-webassembly/19843/3 "2025-01-22T20:32:29Z")

</div>

I would like to read a video stream identifying humans and have it accessible on a browser page
