ScreenCapturing under Wayland (Ubuntu 23.10)
Unsolved
Mobile and Embedded
-
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. -
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.