Skip to content

Commit

Permalink
Detect OpenGL under Qt5 on ubuntu.
Browse files Browse the repository at this point in the history
The Qt5 OpenGL package is installed as Qt5OpenGL not QtOpenGL.
  • Loading branch information
daniel-kristjansson committed May 5, 2013
1 parent de70795 commit 62538dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/configure
Expand Up @@ -5349,7 +5349,8 @@ EOF
fi

# Disable OpenGL ES support if Qt does not support it
if $(pkg-config --variable=qt_config QtOpenGL | grep -qv opengles2) ; then
QTGL=$(pkg-config --list-all | grep Qt | grep OpenGL | awk '{print $1}')
if $(pkg-config --variable=qt_config $QTGL | grep -qv opengles2) ; then
disable opengles
fi

Expand Down

0 comments on commit 62538dc

Please sign in to comment.