diff --git a/modules/highgui/src/window_QT.cpp b/modules/highgui/src/window_QT.cpp index 925bc222d4..ac2360260b 100644 --- a/modules/highgui/src/window_QT.cpp +++ b/modules/highgui/src/window_QT.cpp @@ -55,7 +55,7 @@ #endif #ifdef HAVE_QT_OPENGL - #ifdef Q_WS_X11 + #if defined Q_WS_X11 /* Qt4 */ || defined Q_OS_LINUX /* Qt5 */ #include #endif #endif