break;
case CV_WND_PROP_OPENGL:
-
- #if defined WIN32 || defined _WIN32
+
+ #if defined (HAVE_QT)
+ #elif defined WIN32 || defined _WIN32
return cvGetOpenGlProp_W32(name);
#else
return -1;
default:
return -1;
}
+ return -1;
}
void cv::namedWindow( const string& winname, int flags )
#ifndef HAVE_OPENGL
+#ifndef HAVE_QT
CV_IMPL void cvCreateOpenGLCallback(const char*, CvOpenGLCallback, void*, double, double, double)
{
CV_Error(CV_OpenGlNotSupported, "The library is compiled without OpenGL support");
}
+#endif
CV_IMPL void cvSetOpenGlContext(const char*)
{