added condition for Qt5

This commit is contained in:
Ilya Lavrenov
2016-07-15 14:01:22 +03:00
parent 2d964f800d
commit 3bf16da92d

View File

@@ -55,7 +55,7 @@
#endif #endif
#ifdef HAVE_QT_OPENGL #ifdef HAVE_QT_OPENGL
#ifdef Q_WS_X11 #if defined Q_WS_X11 /* Qt4 */ || defined Q_OS_LINUX /* Qt5 */
#include <GL/glx.h> #include <GL/glx.h>
#endif #endif
#endif #endif