Results 1 to 7 of 7

Thread: QOpenGLShaderProgram and QOpenGLShader Issues

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2013
    Posts
    8
    Thanked 8 Times in 4 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default QOpenGLShaderProgram and QOpenGLShader Issues

    Hello Guys,
    I am a newbie in Qt 5.1 and i have installed Qt in debian (wheezy). This is the package that i have installed qt-linux-opensource-5.1.1-x86_64-offline available at http://qt-project.org/downloads

    I am trying to run the already provided examples available with QtCreator. If i run a non qml application (e.g. "Application Example" in the QtCreator examples section ) the demo runs successfully, but when i try to run a qml based example (e.g. "Qt Quick Controls- Table View Example" in the QtCreator examples section) i only get a blank screen without anything being rendered on it except the title bar and this happens with all the other qml based examples.


    The error log when running the "Qt Quick Controls-Table view example" is as follows

    Starting /home/test/Qt5.1.1/5.1.1/gcc_64/examples/quick/controls/build-tableview-Desktop_Qt_5_1_1_GCC_64bit-Debug/tableview...
    QML debugging is enabled. Only use this in a safe environment.
    QXcbConnection: Failed to get the primary output of the screen
    QXcbConnection: XCB error: 168 (Unknown), sequence: 150, resource id: 80, major code: 149 (Unknown), minor code: 20
    QSGContext::initialize: stencil buffer support missing, expect rendering errors
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( pixelSize ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( pixelSize ): shader program is not linked
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    QOpenGLShader: could not create shader
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked


    Please let me know what i am doing wrong here and is there something that is missing on my debian environment.

  2. The following 3 users say thank you to VirtuousLeo for this useful post:

    louboutinoutlet (2nd December 2013)

Similar Threads

  1. Several issues with QWT 6.1 and Qt 5.0.2
    By DizzyMoods in forum Qwt
    Replies: 3
    Last Post: 16th April 2013, 13:39
  2. Issues with Uic.
    By queelius in forum Qt Programming
    Replies: 4
    Last Post: 2nd December 2010, 13:37
  3. 4.6.0 issues on OS X 10.6 with GL
    By treaves in forum Qt Programming
    Replies: 2
    Last Post: 2nd December 2009, 17:12
  4. CPU Loading issues
    By arunvv in forum Qt Programming
    Replies: 0
    Last Post: 21st September 2009, 19:22
  5. Issues with Qt::StatusTipRole
    By laugusti in forum Qt Programming
    Replies: 2
    Last Post: 20th August 2009, 15:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.