QT OpenCVGLWidget.Cpp

qtImage = QImage((const unsigned char*)(frame.data),
frame.cols, frame.rows,
frame.step, QImage::Format_RGB888).rgbSwapped();
}
else if( frame.channels() == 1)

It keeps saying "use of undeclared identifier frame" first three then on the last it states "expected expression"

I'm not sure what I'm doing wrong here, and I got my books out and everything. It's in the OpenCVGLWidget.cpp

Please Help if you can.
> It's in the OpenCVGLWidget.cpp
¿and where do I have that file?

> "use of undeclared identifier frame"
¿what is frame?
¿where do you have declared it?
I've figured it out!
Topic archived. No new replies allowed.