- 
    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)
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.
- is duplicated by
- 
                    PYSIDE-2055 QApplication.setOverrideCursor() stopped working -           
- Closed
 
-         
| For Gerrit Dashboard: PYSIDE-2039 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 428626,1 | Revert "Add a context manager for override cursors" | dev | pyside/pyside-setup | Status: ABANDONED | 0 | 0 | 
| 428630,3 | Fix setting override cursors without context manager | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 | 
| 428880,1 | Fix setting override cursors without context manager | 6.3.2 | pyside/pyside-setup | Status: ABANDONED | +2 | 0 | 
| 428881,2 | Fix setting override cursors without context manager | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |