07-10-2013 07:42 AM
I use the folowing code to capture a screenshot,it works on pc,but it won't work on z10
->winId(),0,0,-1,-1);//this can not work if(pixmap.save("/sdcard/screenshots/1.jpg"))//path is right qDebug()<<"save"; else qDebug()<<"not save";
How can i capture a screenshot using qt code?
07-10-2013 09:57 AM
I can read the contents of mine own app's windows with someother codes now,but i want to do more than that,I want to capture full screenshots just like when i press volumn+and-.
07-10-2013 11:28 AM
You can't take screenshots of other apps, if that's what you are asking. This is by design as part of our security model.