Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QScreen grabwindow for Android
fubuyuan last edited by
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.
Alaa Elrifaie last edited by
Same problem here, I want to get the current rotation of screen on android, how to do it using the QScreen class?