mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
added condition for Qt5
This commit is contained in:
parent
2d964f800d
commit
3bf16da92d
@ -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…
Reference in New Issue
Block a user