diff --git a/modules/highgui/src/cap.cpp b/modules/highgui/src/cap.cpp index e9242b849d..c97db180fe 100644 --- a/modules/highgui/src/cap.cpp +++ b/modules/highgui/src/cap.cpp @@ -135,7 +135,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index) #ifdef HAVE_MIL CV_CAP_MIL, #endif -if defined(HAVE_QUICKTIME) || defined(HAVE_QTKIT) +#if defined(HAVE_QUICKTIME) || defined(HAVE_QTKIT) CV_CAP_QT, #endif #ifdef HAVE_UNICAP