QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked



  • I am working with Qt 5.8.0 for Android (Linux 64-bit) in Ubuntu 16. When i am trying to run the qml application on emulators (x86, armeabi-v7a), android package built successfully but when app opens, it simply a empty white screen but if work with real android device it works fine and app contains all things what it should be.

    Application output showing me error: QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked.

    Can someone please tell me why it has problem with android emulators. Thanks


  • Lifetime Qt Champion

    Hi,

    You should check the return value of the QOpenGLShaderProgram::log. It might give you more hint about what is going on.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.