Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
take a screenshot of arbitrary region of screen.
samdol last edited by
I found that we can take a screenshot by
But this example shows how to take a whole desktop screen.
I would like to draw a rectangle on desktop screen and take a screenshot only inside of this screen shot. Is it possible?
Flotisable last edited by
I think it's possible.
In the example, it use
grabWindowto get the pixmap of screen int
shootScreenslot. From the document, you can set a rectangle to specify where you want to grab.