Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.3.0
-
None
-
-
287dc13652 (pyside/pyside-setup/dev) e2ed19b9c2 (pyside/pyside-setup/6.3) e2ed19b9c2 (pyside/tqtc-pyside-setup/6.3) e2ed19b9c2 (pyside/pyside-setup/wip/6.3_pypy) e2ed19b9c2 (pyside/tqtc-pyside-setup/wip/6.3_pypy)
Description
The QApplication.setOverrideCursor seems to have no effect at all in PySide6. I tested it in C++ also, there it works. I used the sample application from another related PySide6 issue:
#!/usr/bin/env python import sys from PySide6.QtGui import * from PySide6.QtCore import * from PySide6.QtWidgets import * app = QApplication ( sys.argv ) cursor = QCursor(Qt.WaitCursor) shape = Qt.WaitCursor print(cursor) print(shape) # QApplication.setOverrideCursor( cursor ) QApplication.setOverrideCursor( shape ) window = QLabel("WAIT") window.resize(300, 400) window.show() sys.exit ( app.exec() )
I tried both versions of the QApplication.setOverrideCursor, none yields any result.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2055 QApplication.setOverrideCursor() stopped working
- Closed