Erro with qt quick(no show correctly)



  • I wanted create a applicantion with qt quik, but I can not run....he show a window transparent.....
    I read some about ANGLE, but do not know what to do....

    Has anyone had this problem?

    How to solve this?



  • How are you trying to display your QML application or what are you using as your viewer?



  • Hi, thanks for the reply ....

    First I rode with QT (IDE) - did not work, then ran from the command line (qmlviewer), also did not work ...

    Both cases the screen is transparent



  • Did it display any errors or any messages in your output-box? Could you post them in that case?


  • Moderators

    Hi,

    What is your operating system?

    Are you using a physical machine or a virtual machine?

    What is your graphics card?



  • In my output-box show:

    Starting C:\Qt\Qt5.1.1\5.1.1\msvc2010\bin\qmlscene.exe C:/Users/Thiago/teste/teste.qml
    class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Could not initialize egl display: error 12289

    QOpenGLFunctions created with non-current context
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    QOpenGLFunctions created with non-current context
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    QOpenGLFunctions created with non-current context
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
    QOpenGLFunctions created with non-current context
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    QOpenGLFunctions created with non-current context
    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
    QOpenGLFunctions created with non-current context
    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
    QOpenGLFunctions created with non-current context
    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



  • [quote author="JKSH" date="1392080718"]Hi,

    What is your operating system?

    Are you using a physical machine or a virtual machine?

    What is your graphics card?[/quote]

    Windows 7
    physical machine
    I no have graphics card, just on-borard video



  • [quote author="onek24" date="1392063115"]Did it display any errors or any messages in your output-box? Could you post them in that case?[/quote]

    In my output-box show:

    Starting C:\Qt\Qt5.1.1\5.1.1\msvc2010\bin\qmlscene.exe C:/Users/Thiago/teste/teste.qml
    class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Could not initialize egl display: error 12289

    QOpenGLFunctions created with non-current context
    QSGMaterialShader: Shader compilation failed:
    “”
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    QOpenGLFunctions created with non-current context
    QSGMaterialShader: Shader compilation failed:
    “”
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    QOpenGLFunctions created with non-current context
    QSGMaterialShader: Shader compilation failed:
    “”
    QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
    QOpenGLFunctions created with non-current context
    QSGMaterialShader: Shader compilation failed:
    “”
    QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    QOpenGLFunctions created with non-current context
    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
    QOpenGLFunctions created with non-current context
    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
    QOpenGLFunctions created with non-current context
    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



  • Well, i would say the problem is that you've got no graphics-card, but i could be wrong.


  • Moderators

    Qt requires support for OpenGL 2 or higher. If you only have an onboard graphics chip, then you probably don't have this OpenGL support.

    Try using the non-OpenGL version of Qt instead: Go to http://qt-project.org/downloads and download a package that doesn't contain "OpenGL" in its name.



  • Thanks by all answer, i will do some tests.....all answer was of great help...

    This is very common trouble with computers of little quality( in Brazil exists many )

    If you guys find more answers, please inform me

    Thanks....



  • You're welcome. I'll see what i can find but the problem is probably the non-opengl support. Just try it out without open-gl and it should work out fine. Otherwise you still can use QtQuick 1.0 which doesn't support OpenGL by itself.






Log in to reply
 

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