Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0, 5.0.1
-
None
-
Microsoft Windows 7 Ultimate 64-bit SP1, Linux XCB
Qt 5 stable branch
-
QtWayland: ebb7d2cd7d7c4b52dd2ba36a1e702d15b4eb1e16 QtBase: c24a7377dd9cfb503b43ef3f5a2d5cac9a4e1b8c, pixmap cursor cache for speedup: 63faa00066dfdbcca4f7875d18038c3161c542e2
Description
Setting a custom cursor for a QWidget using QWidget::setCursor with a custom QCursor loaded from a PNG resource doesn't work in Qt 5. It works fine in Qt 4.
To reproduce:
- run qtbug28879 -m, notice custom cursor on main window
- run qtbug28879 -m -n, enforcing a native central widget (thus all children native), notice custom cursor on main window not working
Attachments
For Gerrit Dashboard: QTBUG-28879 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
44397,1 | Fix setting of custom cursors for native widgets. | stable | qt/qtbase | Status: ABANDONED | -1 | 0 |
44538,3 | Regression: Fix setting of custom cursors for native widgets. | dev | qt/qtbase | Status: MERGED | +2 | 0 |
44679,1 | Default to Qt::ArrowCursor when cursor = 0 in changeCursor(). | master | qt/qtwayland | Status: MERGED | +2 | 0 |