The library is compiled without QT support in function displayOverlay
I have Qt 5.4 and am using static OpenCV 3.0 libraries in my program. I have compiled OpenCV using WITH_QT checked in CMAKE. I'm trying to use the OpenCV displayOverlay() function, but I get this error in my application output window:
OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in displayOverlay, file C:\Programs\opencv\sources\modules\highgui\src\window.cpp, line 446
terminate called after throwing an instance of 'cv::Exception'
what(): C:\Programs\opencv\sources\modules\highgui\src\window.cpp:446: error: (-213) The library is compiled without QT support in function displayOverlay
and in my Issues window, I see:
undefined reference to `_imp___ZN7QWidgetD2Ev'
Could it be that I am missing a static library? Additionally, I have no problems with my compiled dynamic libraries in debug mode.