HAVE_QT and HAVE_WIN32UI can both be true at the same time
if HAVE_QT, window_w32.cpp is not included in the build, see CMakeLists.txt
break;
case cv::WND_PROP_VSYNC:
- #if defined (HAVE_WIN32UI)
+ #if defined (HAVE_QT)
+ // nothing
+ #elif defined (HAVE_WIN32UI)
cvSetPropVsync_W32(name, (prop_value != 0));
#else
// not implemented yet for other toolkits
break;
case cv::WND_PROP_VSYNC:
- #if defined (HAVE_WIN32UI)
+ #if defined (HAVE_QT)
+ return -1;
+ #elif defined (HAVE_WIN32UI)
return cvGetPropVsync_W32(name);
#else
return -1;