Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved]Blackberry Qt5 with ANGLE for OpenGL ES2?
Forum Updated to NodeBB v4.3 + New Features

[Solved]Blackberry Qt5 with ANGLE for OpenGL ES2?

Scheduled Pinned Locked Moved Installation and Deployment
11 Posts 4 Posters 6.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #2

    I don't think Blackberry supports directX, does it? So why do you try to use Angle for this?

    (Z(:^

    1 Reply Last reply
    0
    • W Offline
      W Offline
      weblife
      wrote on last edited by
      #3

      I didn't know it makes the whole library rely on DirectX. I thought it was a work-around to compile for OpenGL ES2 library but would still allow OpenGL ES2 programming. This is super depressing if its a complete replacement of it.

      I am about ready to give up on Windows 7.

      Brandon Clark
      www.themindspot.com

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #4

        Angle is a library that translates OpenGL calls into DirectX calls.

        On windows, you probably have both installed (both AMD and nVidia provide OpenGL and DirectX drivers). I have no experience on Blackberry, but I think their OS is UNIX-like, so it probably does support OpenGL natively. Qt5's QUICK2 uses OpenGL.

        (Z(:^

        1 Reply Last reply
        0
        • W Offline
          W Offline
          weblife
          wrote on last edited by
          #5

          I know it uses OpenGL but my problem is compiling on Windows 7 to get a Blackberry library to use in Blackberry development. I think I may have gotten it, I should find out soon as it gets to that step again. Let you know what I did if it works.

          Brandon Clark
          www.themindspot.com

          1 Reply Last reply
          0
          • W Offline
            W Offline
            weblife
            wrote on last edited by
            #6

            Wow, it worked. Unfortunatly a new OpenGL error but much closer.

            What I did was use the headers for OpenGL from qnx includes GLES & GLES2. I stopped using ANGLE also.

            The new error:

            @:(.text$_ZN19QOpenGLGlyphTexture12freeResourceEP14QOpenGLContext[QOpenGLGlyphTex
            ture::freeResource(QOpenGLContext*)]+0x39): undefined reference to _imp__glDele teTextures@8' collect2: ld returned 1 exit status mingw32-make[3]: *** [../../lib/QtGui5.dll] Error 1 mingw32-make[3]: Leaving directory c:/SDKs/Qt/qt5/qtbase/src/gui'
            mingw32-make[2]: *** [release] Error 2
            mingw32-make[2]: Leaving directory c:/SDKs/Qt/qt5/qtbase/src/gui' mingw32-make[1]: *** [sub-gui-make_first] Error 2 mingw32-make[1]: Leaving directory c:/SDKs/Qt/qt5/qtbase/src'
            mingw32-make: *** [sub-src-make_first] Error 2@

            Brandon Clark
            www.themindspot.com

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #7

              Linker error. A build object is missing. I can't help more, though, I've never had such an issue + my OpenGL knowledge can hardly be named "knowledge" ;)

              (Z(:^

              1 Reply Last reply
              0
              • W Offline
                W Offline
                weblife
                wrote on last edited by
                #8

                It beats mine :) trying to figure out the reason may need different headers. Thank you for the clarity on ANGLE! At least I feel I can go another day of trying to get this.

                Brandon Clark
                www.themindspot.com

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  weblife
                  wrote on last edited by
                  #9

                  Solution result. I had to forget ANGLE because I miss understood it's use. Angle as @sierdzio mentions is a replacement for OpenGL ES2 for those who don't have it at all, not if the development files aren't present or compiled. It will make your program use Direct X instead of OpenGL ES.

                  Could be useful knowledge at a later date...

                  Brandon Clark
                  www.themindspot.com

                  1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    ZapB
                    wrote on last edited by
                    #10

                    Yeah Blackberry uses OpenGL ES2 natively. No DirectX, hence no need for ANGLE at all. If you encounter any issues with the ES2 support on Blackberry please let us know.

                    Nokia Certified Qt Specialist
                    Interested in hearing about Qt related work

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      billouparis
                      wrote on last edited by
                      #11

                      I don't know if this can help anyone, but configuring Qt5 with this option "-opengl desktop" was very helpful for me, to rely on my real video card opengl capabilities.

                      Bill

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved