[Development] QT-5.0 doesn't honor the "-no-opengl" option

haithem rahmani haithem.rahmani at gmail.com
Wed Sep 26 11:27:08 CEST 2012


Hi,

I'm trying to cross-compile the qt-5.0.0beta1 for an embedded system.
I'm configuring it as following:

./configure -xplatform linux-armv7-g++ -prefix /home/rahmanih/qt-5.0.0-beta
-opensource -confirm-license -force-pkg-config -no-opengl -no-xcb
-no-xrender     -no-xinerama     -no-xshape     -no-xvideo     -no-xsync
  -no-xinput2 -no-xcursor -no-xfixes -no-xinput -no-xrandr -no-eglfs
-no-egl -no-pch -debug -no-c++11

 but when compiling I'm getting this error:


 ... -o .obj/debug-shared/qquickpixmapcache.o util/qquickpixmapcache.cpp
In file included from
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsgnode.h:45:0,
                 from ../../include/QtQuick/qsgnode.h:1,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/qsgcontext_p.h:54,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/qsgcontext_p.h:1,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/util/qsgtexture_p.h:51,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/qsgtexture_p.h:1,
                 from util/qquickpixmapcache.cpp:50:
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:117:25:
error: 'GLenum' has not been declared
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:118:12:
error: 'GLenum' does not name a type
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:114:33:
error: 'GL_UNSIGNED_SHORT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'uint* QSGGeometry::indexDataAsUInt()':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:194:5:
error: 'GL_UNSIGNED_INT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'quint16* QSGGeometry::indexDataAsUShort()':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:200:5:
error: 'GL_UNSIGNED_SHORT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'const uint* QSGGeometry::indexDataAsUInt() const':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:206:5:
error: 'GL_UNSIGNED_INT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'const quint16* QSGGeometry::indexDataAsUShort() const':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:212:5:
error: 'GL_UNSIGNED_SHORT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'QSGGeometry::Point2D* QSGGeometry::vertexDataAsPoint2D()':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:221:5:
error: 'GL_FLOAT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'QSGGeometry::TexturedPoint2D*
QSGGeometry::vertexDataAsTexturedPoint2D()':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:232:5:
error: 'GL_FLOAT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'QSGGeometry::ColoredPoint2D*
QSGGeometry::vertexDataAsColoredPoint2D()':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:245:5:
error: 'GL_FLOAT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:248:5:
error: 'GL_UNSIGNED_BYTE' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'const QSGGeometry::Point2D*
QSGGeometry::vertexDataAsPoint2D() const':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:257:5:
error: 'GL_FLOAT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'const QSGGeometry::TexturedPoint2D*
QSGGeometry::vertexDataAsTexturedPoint2D() const':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:268:5:
error: 'GL_FLOAT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'const QSGGeometry::ColoredPoint2D*
QSGGeometry::vertexDataAsColoredPoint2D() const':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:281:5:
error: 'GL_FLOAT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:284:5:
error: 'GL_UNSIGNED_BYTE' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h: In
member function 'int QSGGeometry::sizeOfIndex() const':
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:290:25:
error: 'GL_UNSIGNED_SHORT' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:291:30:
error: 'GL_UNSIGNED_BYTE' was not declared in this scope
../../include/QtQuick/../../src/quick/scenegraph/coreapi/qsggeometry.h:292:30:
error: 'GL_UNSIGNED_INT' was not declared in this scope
In file included from
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/qopenglextensions_p.h:1:0,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/util/qsgdepthstencilbuffer_p.h:47,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/qsgdepthstencilbuffer_p.h:1,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/qsgcontext_p.h:55,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/qsgcontext_p.h:1,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/util/qsgtexture_p.h:51,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/qsgtexture_p.h:1,
                 from util/qquickpixmapcache.cpp:50:
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:
At global scope:
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:77:1:
error: expected class-name before '{' token
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:113:5:
error: 'GLvoid' does not name a type
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:114:5:
error: 'GLboolean' does not name a type
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:116:28:
error: 'GLint' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:116:41:
error: 'GLint' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:116:54:
error: 'GLint' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:116:67:
error: 'GLint' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:117:28:
error: 'GLint' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:117:41:
error: 'GLint' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:117:54:
error: 'GLint' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:117:67:
error: 'GLint' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:118:28:
error: 'GLbitfield' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:118:45:
error: 'GLenum' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:120:43:
error: 'GLenum' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:120:58:
error: 'GLsizei' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:121:43:
error: 'GLenum' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:122:43:
error: 'GLsizei' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:122:58:
error: 'GLsizei' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:124:29:
error: 'GLenum' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:124:44:
error: 'qopengl_GLintptr' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:124:69:
error: 'qopengl_GLsizeiptr' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:124:94:
error: 'GLvoid' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:127:37:
error: 'QOpenGLFunctionsPrivate' does not name a type
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:127:62:
error: ISO C++ forbids declaration of 'd' with no type [-fpermissive]
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:
In member function 'QOpenGLExtensionsPrivate* QOpenGLExtensions::d_func()':
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:78:5:
error: 'd_ptr' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:
In member function 'const QOpenGLExtensionsPrivate*
QOpenGLExtensions::d_func() const':
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:78:5:
error: 'd_ptr' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:
At global scope:
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:133:1:
error: expected class-name before '{' token
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:137:5:
error: 'GLvoid' does not name a type
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:138:16:
error: 'QOPENGLF_APIENTRYP' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:138:48:
error: 'GLenum' has not been declared
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:138:61:
error: ISO C++ forbids declaration of 'GLboolean' with no type
[-fpermissive]
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:138:61:
error: 'GLboolean' declared as function returning a function
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:139:30:
error: expected ')' before 'BlitFramebuffer'
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:142:30:
error: expected ')' before 'RenderbufferStorageMultisample'
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:145:30:
error: expected ')' before 'GetBufferSubData'
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:148:8:
error: 'GLvoid' does not name a type
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:157:8:
error: 'GLboolean' does not name a type
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:166:50:
error: variable or field 'glBlitFramebuffer' declared void
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:166:50:
error: 'GLint' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:166:63:
error: 'GLint' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:166:76:
error: 'GLint' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:166:89:
error: 'GLint' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167:24:
error: 'GLint' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167:37:
error: 'GLint' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167:50:
error: 'GLint' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:167:63:
error: 'GLint' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:168:24:
error: 'GLbitfield' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:168:41:
error: 'GLenum' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:176:65:
error: variable or field 'glRenderbufferStorageMultisample' declared void
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:176:65:
error: 'GLenum' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:176:80:
error: 'GLsizei' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:177:39:
error: 'GLenum' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:178:39:
error: 'GLsizei' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:178:54:
error: 'GLsizei' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:186:51:
error: variable or field 'glGetBufferSubData' declared void
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:186:51:
error: 'GLenum' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:186:66:
error: 'qopengl_GLintptr' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:186:91:
error: 'qopengl_GLsizeiptr' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:186:116:
error: 'GLvoid' was not declared in this scope
/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtbase/include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/opengl/qopenglextensions_p.h:186:124:
error: 'data' was not declared in this scope
In file included from
../../include/QtQuick/5.0.0/QtQuick/private/qsgdepthstencilbuffer_p.h:1:0,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/qsgcontext_p.h:55,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/qsgcontext_p.h:1,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/util/qsgtexture_p.h:51,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/qsgtexture_p.h:1,
                 from util/qquickpixmapcache.cpp:50:
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/util/qsgdepthstencilbuffer_p.h:94:5:
error: 'GLuint' does not name a type
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/util/qsgdepthstencilbuffer_p.h:95:5:
error: 'GLuint' does not name a type
In file included from
../../include/QtQuick/5.0.0/QtQuick/private/qsgcontext_p.h:1:0,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/util/qsgtexture_p.h:51,
                 from
../../include/QtQuick/5.0.0/QtQuick/private/qsgtexture_p.h:1,
                 from util/qquickpixmapcache.cpp:50:
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/qsgcontext_p.h:97:57:
error: 'GLuint' has not been declared
In file included from
../../include/QtQuick/5.0.0/QtQuick/private/qsgtexture_p.h:1:0,
                 from util/qquickpixmapcache.cpp:50:
../../include/QtQuick/5.0.0/QtQuick/private/../../../../../src/quick/scenegraph/util/qsgtexture_p.h:105:5:
error: 'GLuint' does not name a type
make[3]: *** [.obj/debug-shared/qquickpixmapcache.o] Error 1
make[3]: Leaving directory
`/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtdeclarative/src/quick'
make[2]: *** [sub-quick-make_first-ordered] Error 2
make[2]: Leaving directory
`/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtdeclarative/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory
`/home/rahmanih/work/releases/qt-everywhere-opensource-src-5.0.0-beta1/qtdeclarative'


is it due to some missing checks on "QT_NO_OPENGL" flag or the opengl is
now mandatory to build the qt5?

regards
Haithem.
-- 
*
Never say that's "impossible", the word itself says "I'm Possible"
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120926/79adffc1/attachment.html>


More information about the Development mailing list