(no subject)

Page 1.0 of 1.22
  • BogDan Vatra
    BogDan Vatra
    2011-11-27

    Make sure you are using an OpenGL ES2 compatible device. Also be sure your project is using QtOpenGL module.

    • status: open --> closed
     
  • Matt
    Matt
    2011-11-28

    I am using a Motorola Xoom which has OpenGL ES2 support and my project was using the QtOpenGL module. I also added QT += opengl to the .pro file

    • status: closed --> open
     
  • BogDan Vatra
    BogDan Vatra
    2011-11-28

    Please provide full add logcat log. Also a simple application will be very useful.

     
  • Matt
    Matt
    2011-12-01

    logcat log wouldn't be helpful as it doesn't even compile when opengl function calls are present. Project attached.

     
    Attachments
  • WinAnd
    WinAnd
    2011-12-12

    i've got the same problem (maybe i'm doing something wrong)
    here's Android armv7a release compile log

     
    Attachments
  • Ray Donnelly
    Ray Donnelly
    2011-12-12

    Hi Matt,

    glLoadIdentity isn't part of OpenGLES 2.

    WinAnd,

    Same thing applies to your report; if you want me to investigate further please send a test project.

    Cheers,

    Ray.

     
    • WinAnd
      WinAnd
      2011-12-14

      here's the project, all code i've changed while porting to GL ES is marked by "ANDROID MOD". It runs on desktop as expected, but cannot be compiled in necessitas. Compiler cannot understand even what GLfloat is.
      gl.h is not included. if i include it manually (android-ndk-r6b/platforms/android-8/arch-arm/usr/include/GLES/gl.h), libraries cannot be found.

       
      Last edit: WinAnd 2011-12-14
      Attachments
      • BogDan Vatra
        BogDan Vatra
        2012-01-15

        Necessitas is uses only GLES2 so, try to include gl2.h>.

        • status: open --> invalid
        • milestone: stable --> unstable

         
  • BogDan Vatra
    BogDan Vatra
    2012-01-15

    This issues doesn't seem to be necessitas related.

     
    • WinAnd
      WinAnd
      2012-01-22

      anyway necessitas cannot find includes and lib until i add
      INCLUDEPATH += C:/necessitas/android-ndk-r6b/platforms/android-8/arch-arm/usr/include
      LIBS += C:/necessitas/android-ndk-r6b/platforms/android-8/arch-arm/usr/lib/libGLESv2.so
      (even with these lines in pro file, hellogl_es2 example crashes on Milestone)

       
      Last edit: WinAnd 2012-01-22
  • Willybood
    Willybood
    2012-02-02

    I'm having a similar problem to the above using a Galaxy Nexus, with both my current project and the "hellogl_es2" example code.
    I've tried manually including a couple of different variations of the GLES libraries as WinAnd recommend, but so far haven't been able to get through the 'Copy application data' stage.
    Does anyone have some well worn QtOpenGL example code that works on their devices that they could put for download? At least that way we could work out if its our set ups or some small part of our code.