Custom Cursor
Unsolved
QML and Qt Quick
-
wrote on 30 May 2016, 09:10 last edited by
Hi everyone,
Is there a simple way to change the mouse cursor to a custom shape, within QML?
I have only found how to set the cursor shape to one of the predefined Qt::CursorShape shapes.
Thanks
-
Hi everyone,
Is there a simple way to change the mouse cursor to a custom shape, within QML?
I have only found how to set the cursor shape to one of the predefined Qt::CursorShape shapes.
Thanks
Hi @levelxxl,
AFAIK you will need to change it from C++ side.QGuiApplication app(argc, argv); app.setOverrideCursor(QCursor(QPixmap("mycursor.png")));
-
wrote on 30 May 2016, 10:20 last edited by
Thanks, I was afraid of that.
1/3