# Error while compiling mingw msys2 c++

**URL:** <https://forum.opencv.org/t/error-while-compiling-mingw-msys2-c/17072>\
**Category:** C++\
**Tags:** qt, build\
**Created:** [March 29, 2024, 12:10am UTC](https://forum.opencv.org/t/error-while-compiling-mingw-msys2-c/17072 "2024-03-29T00:10:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wowzie](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/wowzie/32/8333_2.png) [@wowzie](https://forum.opencv.org/u/wowzie)\
**Post date:** [March 29, 2024, 12:10am UTC](https://forum.opencv.org/t/error-while-compiling-mingw-msys2-c/17072/1 "2024-03-29T00:10:32Z")

</div>

so there is a problem when it compiles it tells me this error when i try running the .exe `The code execution cannot proceed because Qt6Widgets. dll was not found. opencv` and `The code execution cannot proceed because Qt6Widgets. dll was not found. opencv` , `The code execution cannot proceed because Qt6Core. dll was not found. opencv` , `The code execution cannot proceed because Qt6Gui. dll was not found. opencv` , `The code execution cannot proceed because Qt6OpenGLwidgets. dll was not found. opencv` , `The code execution cannot proceed because Qt6Test. dll was not found. opencv` my brain hurts
