Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Don't work examples on Qt 5
Forum Updated to NodeBB v4.3 + New Features

Don't work examples on Qt 5

Scheduled Pinned Locked Moved QML and Qt Quick
8 Posts 4 Posters 11.6k 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.
  • Q Offline
    Q Offline
    qVLAD
    wrote on last edited by
    #1

    I install qt 5 beta1 and would like compile examples. Any examples start with this log and don't work.

    System: windows 7 x64, qt creator 2.5.2

    @
    Remove me: fixing toplevel window flags
    QWindowsGLContext::getProcAddress: Unable to resolve 'glBindFramebuffer'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glBindFramebufferOES'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glBindFramebufferARB'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glBindFramebufferEXT'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateProgram'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateProgramARB'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateProgramObject'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateProgramObjectARB'
    QOpenGLShaderProgram: could not create shader program
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateShader'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateShaderARB'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateShaderObject'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateShaderObjectARB'
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
    QWindowsGLContext::getProcAddress: Unable to resolve 'glEnableVertexAttribArray'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glEnableVertexAttribArrayARB'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glEnableVertexAttribArray'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glEnableVertexAttribArrayARB'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glVertexAttribPointer'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glVertexAttribPointerARB'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glVertexAttribPointer'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glVertexAttribPointerARB'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateProgram'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateProgramARB'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateProgramObject'
    QWindowsGLContext::getProcAddress: Unable to resolve 'glCreateProgramObjectARB'
    QOpenGLShaderProgram: could not create shader program
    @

    1 Reply Last reply
    0
    • D Offline
      D Offline
      diro
      wrote on last edited by
      #2

      Your OpenGL is too old. The Qt5 needs OpenGL 2.0 or above. You may check if any new driver for your graphics card first.

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qVLAD
        wrote on last edited by
        #3

        That is mean if my graphic card doesn't support opengl 2.0 i don't may use application on qt 5?

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

          Qt Quick 2 requires OpenGL. If you mean to use Qt Widgets/ Quick 1 only, OpenGL is not required.

          (Z(:^

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

            That of course does not apply to Linux, where you can run everything on your CPU using mesa.

            (Z(:^

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qVLAD
              wrote on last edited by
              #6

              It's not very good news. Thank you.

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

                Why not? You are using Win7, so most probably your CPU/GPU is able to easily run OpenGL 3.0...

                (Z(:^

                1 Reply Last reply
                0
                • Y Offline
                  Y Offline
                  yoyot
                  wrote on last edited by
                  #8

                  My OpenGL is old as well, though Qt3D rotates "basket" quickly enough. When I draw the simple rectangle with textanote appears that me OpenGL is outdated?

                  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