added condition for Qt5

pull/6916/head
Ilya Lavrenov 9 years ago
parent 2d964f800d
commit 3bf16da92d
  1. 2
      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 <GL/glx.h>
#endif
#endif

Loading…
Cancel
Save