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

app icon is always wayland default icon, and win.id() is not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.5.2
    • QPA: Wayland
    • None
    • Linux/Wayland

    Description

      all issues are gone if I temp remove $qt/plugins/platforms/libqwayland-generic.so and restart the app.

      1. all app icons showing on task bar/ window title bar are wayland default icon. for example qt creator. see attached.
      2. QWidget::winId() is not working so I cannot use it in function call like  
        EGLSurface eglSurf = eglCreateWindowSurface(eglDpy, eglCfg, this->winId(), nullptr);

      ENV:

      Qt 6.5.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 12.2.0) on "wayland" 
      OS: Debian GNU/Linux 12 (bookworm) [linux version 6.1.0-11-amd64]
      
      Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RDRAND RDSEED AES 
      
      Qt Creator 11.0.2
      Based on Qt 6.5.2 (GCC 12.2.0, x86_64)
      
      Theme:
        Platforms requested : kde,generic
                  available : snap,flatpak,xdgdesktopportal
        Styles requested    : breeze,Oxygen,Fusion,windows
               available    : Windows,Fusion
        Icon theme          : ePapirus, breeze
      
      Qt Rendering Hardware Interface supported backends:
      qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl"
      qt.qpa.wayland: Available client buffer integrations: QList()
      QRhiGles2: Failed to create temporary context
      QRhiGles2: Failed to create context

      Attachments

        Issue Links

          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
              dext dexter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes