Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem in running QtQuick apps in windwos
Qt 6.11 is out! See what's new in the release blog

Problem in running QtQuick apps in windwos

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.8k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,
    i've installed the Qt for android sdk 5.1 release for windows x86
    i tried to run some examples, the Widget examples runs just fine on windows, but the QtQuick apps fails to run, gives runtime error in visual C++, and gives these messages in the console
    @getProcAddress: Unable to resolve 'glCreateProgram'
    getProcAddress: Unable to resolve 'glCreateProgramARB'
    getProcAddress: Unable to resolve 'glCreateProgramObject'
    getProcAddress: Unable to resolve 'glCreateProgramObjectARB'
    QOpenGLShaderProgram: could not create shader program
    getProcAddress: Unable to resolve 'glCreateShader'
    getProcAddress: Unable to resolve 'glCreateShaderARB'
    getProcAddress: Unable to resolve 'glCreateShaderObject'
    getProcAddress: Unable to resolve 'glCreateShaderObjectARB'
    QOpenGLShader: could not create shader
    List of attribute names is either too long or not null-terminated.
    Maximum number of attributes on this hardware is 0.
    Vertex shader:
    attribute highp vec4 vertexCoord;
    attribute highp vec4 vertexColor;
    uniform highp mat4 matrix;
    uniform highp float opacity;
    varying lowp vec4 color;
    void main() {
    gl_Position = matrix * vertexCoord;
    color = vertexColor * opacity;
    }
    Fragment shader:
    varying lowp vec4 color;
    void main() {
    gl_FragColor = color;
    }@

    i run on windows 8 x64

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

      Looks like you don't have appropriate OpenGL drivers.

      (Z(:^

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        what should i do

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

          INstall nVidia, AMD or Intel drivers for your graphics card, probably. I have never run the android package on Windows, so I can't say for sure.

          (Z(:^

          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