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. ScreenCapturing under Wayland (Ubuntu 23.10)
Qt 6.11 is out! See what's new in the release blog

ScreenCapturing under Wayland (Ubuntu 23.10)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 946 Views
  • 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.
  • T Offline
    T Offline
    The Qt Mayssa
    wrote on last edited by
    #1

    Re: Screen capture when using Wayland

    Knowing That grabWindow gives me a black screen , i was searching for an exmaple to inspire me. I have tested QQuickItem::grabToImage() in a mini project and it works fine. I have an image as an output.
    Unfortunately, my application is complex that the Application who's calling for screenshot has a black screen and it's launching an other process(Application) that displays my widgets.
    So the question is , how can i greb what's displaying in the other window ( the primary screen) having only the winid()
    Best Regards.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Grant Carthew
      wrote on last edited by Grant Carthew
      #2

      Hi @The-Qt-Mayssa, I'm trying to get screenshots working also.
      Have a read through the https://github.com/flameshot-org code for some ideas.

      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