Hi all
I'm trying to build Qt5.4.0 without OpenGL on RedHat 6
I'm running configure like this:
./configure -L <censored> -L <censored> -I <censored> -qpa xcb -no-compile-examples -no-qml-debug -no-opengl
And end up with this:
qpaintervideosurface.cpp: In constructor 'QVideoSurfaceGenericPainter::QVideoSurfaceGenericPainter()':
qpaintervideosurface.cpp:99:9: error: incomplete type 'QOpenGLContext' used in nested name specifier
if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGLES)
^
qpaintervideosurface.cpp:99:47: error: incomplete type 'QOpenGLContext' used in nested name specifier
if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGLES)
^
qpaintervideosurface.cpp: In member function 'virtual QAbstractVideoSurface::Error QVideoSurfaceGenericPainter::start(const QVideoSurfaceFormat&)':
qpaintervideosurface.cpp:140:13: error: incomplete type 'QOpenGLContext' used in nested name specifier
if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES)
^
qpaintervideosurface.cpp:140:51: error: incomplete type 'QOpenGLContext' used in nested name specifier
if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES)
qpaintervideosurface.cpp: In constructor 'QVideoSurfaceGenericPainter::QVideoSurfaceGenericPainter()':
qpaintervideosurface.cpp:99:9: error: incomplete type 'QOpenGLContext' used in nested name specifier
if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGLES)
^
qpaintervideosurface.cpp:99:47: error: incomplete type 'QOpenGLContext' used in nested name specifier
if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGLES)
^
qpaintervideosurface.cpp: In member function 'virtual QAbstractVideoSurface::Error QVideoSurfaceGenericPainter::start(const QVideoSurfaceFormat&)':
qpaintervideosurface.cpp:140:13: error: incomplete type 'QOpenGLContext' used in nested name specifier
if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES)
^
qpaintervideosurface.cpp:140:51: error: incomplete type 'QOpenGLContext' used in nested name specifier
if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES)
To copy to clipboard, switch view to plain text mode
Is it possible to compile Qt5 without OpenGL or is it just dead configure option?
Bookmarks