I have a cursor file named mouse.cur in current dir,I don't know how to load it ..
I view the QCursor's constructor, It seems that can't be load from file.
thx for any answer/.
I have a cursor file named mouse.cur in current dir,I don't know how to load it ..
I view the QCursor's constructor, It seems that can't be load from file.
thx for any answer/.
Yes, QCursor load cursor shape from pixmap only , It does not accept .cur file. To load your file you need to create a QPixmap object from that image file and pass it to constructor of QCursor..
Do you resolved this problem?
Bookmarks