Converting QCursor to HCURSOR?
Solved
General and Desktop
-
What's the proper way to convert a QCursor to an HCURSOR?
The Qt 4.8 documentation shows that there used to be a handle() function, but it appears as if it's since been removed (as of Qt 5.12.1).
-
Hi,
From the looks of it it has been moved into the Windows QPA.
-
And to extent @SGaist answer - here is the function you're looking for if I'm correct: https://doc.qt.io/qt-5/qtwin.html#toHICON
[edit: fixed typo SGaist]
-
Nice one ! I forgot about that it, thanks fo the reminder !