Hi, I'm trying this below but get an error; I don't understand why....
Wich is the lack? Thanks
QMimeSourceFactory mime;
mime.setFilePath("images/");
QMimeSourceFactory mime;
mime.setFilePath("images/");
setCursor(QCursor(QPixmap::fromMimeSource("my.png")));
To copy to clipboard, switch view to plain text mode
QPixmap::fromMimeSource: Cannot find pixmap
"my.png" in the mime source factory
QPixmap::fromMimeSource: Cannot find pixmap "my.png" in the mime source factory
To copy to clipboard, switch view to plain text mode
Bookmarks