# QT mingwGM compile source code ERROR

**URL:** <https://forum.opencv.org/t/qt-mingwgm-compile-source-code-error/4399>\
**Category:** C++\
**Tags:** qt, build\
**Created:** [July 19, 2021, 8:50am UTC](https://forum.opencv.org/t/qt-mingwgm-compile-source-code-error/4399 "2021-07-19T08:50:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 19, 2021, 6:09pm UTC](https://forum.opencv.org/t/qt-mingwgm-compile-source-code-error/4399/2 "2021-07-19T18:09:45Z")

</div>

**always** search for the error

- [4.5.2 static library, highgui module compile failure LNK2019 · Issue #19870 · opencv/opencv · GitHub](https://github.com/opencv/opencv/issues/19870)
- [Problems building OpenCV for Qt using cmake in Windows](https://forum.opencv.org/t/problems-building-opencv-for-qt-using-cmake-in-windows/2662)

---

_[View the full topic](https://forum.opencv.org/t/qt-mingwgm-compile-source-code-error/4399)._
