I\'m trying to compile opencv for qt, opengl, gstreamer and WITH_CUDA.
As far as I read from the sources you need to use a mingw compiler to for qt. I have compiled w