Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Erro with qt quick(no show correctly)
Qt 6.12 LTS is out! See what's new in the release blog

Erro with qt quick(no show correctly)

Scheduled Pinned Locked Moved QML and Qt Quick
14 Posts 3 Posters 8.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.
  • O Offline
    O Offline
    onek24
    wrote on last edited by
    #2

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

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

      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

      1 Reply Last reply
      0
      • O Offline
        O Offline
        onek24
        wrote on last edited by
        #4

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

        1 Reply Last reply
        0
        • JKSHJ Online
          JKSHJ Online
          JKSH
          Moderators
          wrote on last edited by
          #5

          Hi,

          What is your operating system?

          Are you using a physical machine or a virtual machine?

          What is your graphics card?

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

            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

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

              [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

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

                [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

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  onek24
                  wrote on last edited by
                  #9

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

                  1 Reply Last reply
                  0
                  • JKSHJ Online
                    JKSHJ Online
                    JKSH
                    Moderators
                    wrote on last edited by
                    #10

                    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.

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

                      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....

                      1 Reply Last reply
                      0
                      • O Offline
                        O Offline
                        onek24
                        wrote on last edited by
                        #12

                        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.

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

                          This problem was corrected in Qt 5.4

                          http://blog.qt.digia.com/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/

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

                            This problem was corrected in Qt 5.4

                            http://blog.qt.digia.com/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/

                            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
                            • Unsolved