From 3bf16da92d1cb42d429e9a81a3a0abd5cf3360a7 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Fri, 15 Jul 2016 14:01:22 +0300 Subject: [PATCH] added condition for Qt5 --- modules/highgui/src/window_QT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/src/window_QT.cpp b/modules/highgui/src/window_QT.cpp index 925bc222d..ac2360260 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