I put this in a small example application to capture the desktop: QPixmap.grabWindow(QApplication.desktop().winId()) But it doesn't capture any windows that have partial transparency. Is there a way to get these windows as well?