Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118799

build error: undefined reference to QNativeInterface::QSGOpenGLTexture::fromNative

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.6.0
    • Wayland Compositor
    • None
    • Gentoo Sparc
    • Linux/Other display system

    Description

      /usr/lib/gcc/sparc-unknown-linux-gnu/12.1.1/../../../../sparc-unknown-linux-gnu/bin/ld: src/compositor/CMakeFiles/WaylandCompositor.dir/compositor_api/qwaylandquickitem.cpp.o: in function `QWaylandBufferMaterial::setBufferRef(QWaylandQuickItem*, QWaylandBufferRef const&)':
      qwaylandquickitem.cpp:(.text+0x212c): undefined reference to `QNativeInterface::QSGOpenGLTexture::fromNative(unsigned int, QQuickWindow*, QSize const&, QFlags<QQuickWindow::CreateTextureOption>)'
      /usr/lib/gcc/sparc-unknown-linux-gnu/12.1.1/../../../../sparc-unknown-linux-gnu/bin/ld: qwaylandquickitem.cpp:(.text+0x220c): undefined reference to `QNativeInterface::QSGOpenGLTexture::fromNativeExternalOES(unsigned int, QQuickWindow*, QSize const&, QFlags<QQuickWindow::CreateTextureOption>)'
      /usr/lib/gcc/sparc-unknown-linux-gnu/12.1.1/../../../../sparc-unknown-linux-gnu/bin/ld: src/compositor/CMakeFiles/WaylandCompositor.dir/compositor_api/qwaylandquickitem.cpp.o: in function `QWaylandSurfaceTextureProvider::setBufferRef(QWaylandQuickItem*, QWaylandBufferRef const&)':
      qwaylandquickitem.cpp:(.text._ZN30QWaylandSurfaceTextureProvider12setBufferRefEP17QWaylandQuickItemRK17QWaylandBufferRef[_ZN30QWaylandSurfaceTextureProvider12setBufferRefEP17QWaylandQuickItemRK17QWaylandBufferRef]+0x120): undefined reference to `QNativeInterface::QSGOpenGLTexture::fromNative(unsigned int, QQuickWindow*, QSize const&, QFlags<QQuickWind
      ow::CreateTextureOption>)'
      /usr/lib/gcc/sparc-unknown-linux-gnu/12.1.1/../../../../sparc-unknown-linux-gnu/bin/ld: src/compositor/CMakeFiles/WaylandCompositor.dir/extensions/qwltexturesharingextension.cpp.o: in function `SharedTextureFactory::createTexture(QQuickWindow*) const':
      qwltexturesharingextension.cpp:(.text._ZNK20SharedTextureFactory13createTextureEP12QQuickWindow[_ZNK20SharedTextureFactory13createTextureEP12QQuickWindow]+0x64): undefined reference to `QNativeInterface::QSGOpenGLTexture::fromNative(unsigned int, QQuickWindow*, QSize const&, QFlags<QQuickWindow::CreateTextureOption>)'
      collect2: error: ld returned 1 exit status
      

      Complete build log attached. Other configurations, i.e. with either Qt6Quick or wayland_server disabled, pass the build.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            Dakon Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes