Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.1, 5.2.0 Alpha
-
None
-
Mac OS X 10.8
-
5334a2cea76473060b4f20aa8f1d5819bb03e6c4
Description
It is not possible to set hi-dpi QCursor. At the moment, the system always scales the cursor on a hi-dpi screen so it looks pixelated.
There should be a way to use hi-dpi mouse cursors.
I've tried this by setting a QCursor constructed from a QPixmap with device pixel ratio 2.0, but it did not work. The attached example has the code. The drawPixmap() method works correctly, but the setCursor() methods do not. I'd expect the cursor to have the same size as the painted pixmap.
Attachments
Issue Links
- relates to
-
QTBUG-68571 [xcb][eglfs][wayland] QCursor does not support hidpi pixmaps
- Reported