Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android Error (3009 (EGL_BAD_MATCH))

Android Error (3009 (EGL_BAD_MATCH))

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 3.0k 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.
  • F Offline
    F Offline
    flaviomarcio
    wrote on last edited by
    #1

    xI can not run well on Android A QML.

    I got the error.

    E / libEGL (8495) eglMakeCurrent: 534 error 3009 (EGL_BAD_MATCH)

    The example works fine when run on windows.

    This missing LIB?

    Does anyone have any idea?

    Flavio Portela

    1 Reply Last reply
    0
    • F Offline
      F Offline
      flaviomarcio
      wrote on last edited by
      #2

      The source code in this post:
      https://groups.google.com/forum/?fromgroups=#!topic/android-qt/GTZsO5tbTso

      Flavio Portela

      1 Reply Last reply
      0
      • F Offline
        F Offline
        flaviomarcio
        wrote on last edited by
        #3

        Log build
        ….
        W/Qt ( 8495): scenegraph\coreapi\qsgmaterial.cpp:330 (virtual void QSGMaterialShader::compile()): QSGMaterialShader: Shader compilation failed:
        W/Qt ( 8495): scenegraph\coreapi\qsgmaterial.cpp:331 (virtual void QSGMaterialShader::compile()): “”
        W/Qt ( 8495): opengl\qopenglshaderprogram.cpp:1748 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
        W/Qt ( 8495): opengl\qopenglshaderprogram.cpp:1748 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
        W/Qt ( 8495): opengl\qopenglshaderprogram.cpp:1748 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( pixelSize ): shader program is not linked
        W/Qt ( 8495): opengl\qopenglfunctions.cpp:230 (QOpenGLFunctions::QOpenGLFunctions(QOpenGLContext*)): QOpenGLFunctions created with non-current context
        W/Qt ( 8495): scenegraph\coreapi\qsgmaterial.cpp:330 (virtual void QSGMaterialShader::compile()): QSGMaterialShader: Shader compilation failed:
        W/Qt ( 8495): scenegraph\coreapi\qsgmaterial.cpp:331 (virtual void QSGMaterialShader::compile()): “”
        W/Qt ( 8495): opengl\qopenglshaderprogram.cpp:1748 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
        W/Qt ( 8495): opengl\qopenglshaderprogram.cpp:1748 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
        W/Qt ( 8495): opengl\qopenglshaderprogram.cpp:1748 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
        W/Qt ( 8495): opengl\qopenglshaderprogram.cpp:1748 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
        W/Qt ( 8495): opengl\qopenglshaderprogram.cpp:1748 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
        E/libEGL ( 8495): eglMakeCurrent:534 error 3009 (EGL_BAD_MATCH)
        W/Qt ( 8495): eglconvenience\qeglplatformcontext.cpp:111 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3009, this: 0×54de7908
        W/Qt ( 8495):
        F/libc ( 8495): Fatal signal 11 (SIGSEGV) at 0×00000004 (code=1), thread 8526 (QSGRenderThread)
        ‘org.qtproject.example.untitled2’ died.

        Flavio Portela

        1 Reply Last reply
        0
        • F Offline
          F Offline
          flaviomarcio
          wrote on last edited by
          #4

          The error occurs when you run:
          void MainWindow::on_pushButton_clicked()
          {
          QQuickView *view = new QQuickView;
          qDebug()<<“flavio”;
          view->setSource(QUrl(“qrc:/qml/pathview/pathview-example.qml”)); view->show();
          }

          Flavio Portela

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Please don't post on multiple sub-forum

            "Duplicate":https://qt-project.org/forums/viewthread/29978/

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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