QScreen grabwindow for Android
-
This code works fine in Windows, but returns a 0x0 pixmap on Android;
QScreen *p = QGuiApplication::primaryScreen();
QPixmap pix = p->grabWindow(winId());Has anyone made this work on Android.
Thanks.
-
Same problem here, I want to get the current rotation of screen on android, how to do it using the QScreen class?