Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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?