FWIW, i use this and it works.
> Sent: Friday, December 13, 2019 at 2:53 AM > From: "Matt Wright" <[email protected]> > To: "Martin Leutelt" <[email protected]>, "[email protected]" > <[email protected]> > Subject: Re: [Interest] Screenshot QML Applications > > Hi Martin, > > Thanks for the suggestion, I will give it a go. > > Matt > > From: Martin Leutelt <[email protected]> > Sent: Wednesday, December 11, 2019 11:52 PM > To: [email protected] > Subject: Re: [Interest] Screenshot QML Applications > > Hi, > > I guess what you're looking for is > https://doc.qt.io/qt-5/qml-qtquick-item.html#grabToImage-method. Calling this > on an appropriate Item in your QML object hierarchy should do the job. > > Best regards, > Martin > From: Matt Wright > <[email protected]<mailto:[email protected]>> > To: "[email protected]<mailto:[email protected]>" > <[email protected]<mailto:[email protected]>> > Sent: 12/12/2019 3:18 AM > Subject: [Interest] Screenshot QML Applications > Hi, > > I'm running a QML app on an embedded Linux device running Debian. I have > seen some hits online about how to screenshot a Widgets app, but nothing > obvious on how to do the same with a QML app. My goal here is to have a key > combination so that we can easily take a screenshot and store the file on the > device, extracting the screenshot later. > > Any info any of you would be willing to share would be helpful. > > Thanks, > Matt > > -----Original Message----- > From: Interest > <[email protected]<mailto:[email protected]>> On > Behalf Of > [email protected]<mailto:[email protected]> > Sent: Friday, December 6, 2019 3:00 AM > To: [email protected]<mailto:[email protected]> > Subject: Interest Digest, Vol 99, Issue 7 > > Send Interest mailing list submissions to > [email protected]<mailto:[email protected]> > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.qt-project.org/listinfo/interest > or, via email, send a message with subject or body 'help' to > [email protected]<mailto:[email protected]> > > You can reach the person managing the list at > [email protected]<mailto:[email protected]> > > When replying, please edit your Subject line so it is more specific than "Re: > Contents of Interest digest..." > _______________________________________________ > Interest mailing list > [email protected]<mailto:[email protected]> > https://lists.qt-project.org/listinfo/interest > _______________________________________________ > Interest mailing list > [email protected] > https://lists.qt-project.org/listinfo/interest > _______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
