Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7399

Qt/X11/BeagleBoard build error with "-opengl es1cl" backend

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • 4.6.2
    • None
    • GUI: OpenGL
    • None
    • Qt, OpenGL ES 1.1 CL, X11, BeagleBoard (OMAP3)

    • 5f81705a5db458d944f22d1162c0e9a772d75c19

    Description

      Not able to build Qt with X11 backend for "-opengl es1cl" profile.

      I was trying building Qt with PowerVR provided Graphics SDK as well as with
      our in-house OpenGL ES 1.x SDK.

      I'm able to build Qt/QWS with "-opengl es1cl" profile in both the cases but
      in Qt/X11 case it gave me the following build error:
      -----------------------------------
      make[1]: Entering directory `/home/amit/qt_master/qt_ppgles/src/opengl'
      sb2 g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon
      -mfloat-abi=softfp -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED
      -DQT_BUILD_OPENGL_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII
      -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_GUI_LIB
      -DQT_CORE_LIB -I../../mkspecs/linux-beagle-x11-g++ -I.
      -I../../include/QtCore -I../../include/QtGui -I../../include
      -I../../include/QtOpenGL -I.rcc/release-shared -I../3rdparty/harfbuzz/src
      -I/home/amit/opengles/code/repo/opt/include
      -I/home/amit/opengles/code/repo/opt/include
      -I/media/disk-2/beagle_OE/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include
      -I.moc/release-shared
      -I/media/disk-2/beagle_OE/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include
      -o .obj/release-shared/qpixmapdata_x11gl_egl.o qpixmapdata_x11gl_egl.cpp
      In file included from
      ../../include/QtOpenGL/private/qglcustomshaderstage_p.h:1,
      from
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qglengineshadermanager_p.h:229,
      from
      ../../include/QtOpenGL/private/qglengineshadermanager_p.h:1,
      from
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h:59,
      from
      ../../include/QtOpenGL/private/qpaintengineex_opengl2_p.h:1,
      from qpixmapdata_x11gl_egl.cpp:45:
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qglcustomshaderstage_p.h:71:
      error: 'QGLShaderProgram' has not been declared
      In file included from
      ../../include/QtOpenGL/private/qglengineshadermanager_p.h:1,
      from
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h:59,
      from
      ../../include/QtOpenGL/private/qpaintengineex_opengl2_p.h:1,
      from qpixmapdata_x11gl_egl.cpp:45:
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qglengineshadermanager_p.h:348:
      error: ISO C++ forbids declaration of 'QGLShaderProgram' with no type
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qglengineshadermanager_p.h:348:
      error: expected ';' before '*' token
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qglengineshadermanager_p.h:349:
      error: expected `;' before 'QGLShaderProgram'
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qglengineshadermanager_p.h:349:
      error: ISO C++ forbids declaration of 'QGLShaderProgram' with no type
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qglengineshadermanager_p.h:349:
      error: expected ';' before '*' token
      ../../include/QtOpenGL/private/../../../src/opengl/gl2paintengineex/qglengineshadermanager_p.h:351:
      error: expected `;' before 'QGLEngineShaderProg'
      ------------------
      --------------------------
      -----------------------------------

      Since its an OpenGL ES1CL profile, I'm not really sure why it should look
      for Shader code.

      Reference: http://lists.trolltech.com/pipermail/qt-embedded-interest/2009-December/000767.html

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tcooksey Tom Cooksey
            pundiramit Amit Pundir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes