Hello, i have tried for hours now to compile the opencv files. i followed the guide here (https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows) and trying to get it working with QT. i also turned off BUILD_PROTOBUF and BUILD_opencv_videoio. When i compile i get a huge error message at "[ 88%] Linking CXX shared library ....\bin\libopencv_highgui343.dll". Here is the first few lines of the error message:
CMakeFiles\opencv_highgui.dir/objects.a(window_QT.cpp.obj):window_QT.cpp:(.text$_ZN10CvWinModelD1Ev[__ZN10CvWinModelD1Ev]+0xf): undefined reference to _imp___ZN7QWidgetD2Ev'
CMakeFiles\opencv_highgui.dir/objects.a(window_QT.cpp.obj):window_QT.cpp:(.text$_ZN10CvWinModelD0Ev[__ZN10CvWinModelD0Ev]+0x15): undefined reference to
_imp___ZN7QWidgetD2Ev'
CMakeFiles\opencv_highgui.dir/objects.a(window_QT.cpp.obj):window_QT.cpp:(.text$_ZN14OpenGlViewPort7setSizeE5QSize+0x13): undefined reference to `_imp___ZN7QWidget14updateGeometryEv'
And that continues for miles. I hope someone can help me cause im in the dark here.
im on a windows 10 64, with intel i5-7300HQ
Thanks!