Its very easy to take screenshot using Qt, as shwon in an official example.
https://doc.qt.io/qt-5/qtwidgets-desktop-screenshot-example.html
I am interested in creating screen recorder but I could not find a Qt way for doing this.
How can I screen record using Qt?