Black and white cursor on qt5
General and Desktop
4
Posts
3
Posters
1.1k
Views
2
Watching
-
I'm using this code to replace the cursor on my Qt application:
QApplication a; a.setOverrideCursor(QCursor(QPixmap(":/pixmaps/circle.png")));
On Qt 4.8.6, the cursor looks perfectly fine, preserving all the colors (original circle.png: http://i.imgur.com/HHzJJJA.png)
On Qt 5.4.0 though, the cursor looks black and white (screenshot: http://i.imgur.com/cAf24Zv.png?1)Is this a bug in Qt5? Is there any way to workaround it?
-
I'm having the same issue, also on Arch, Qt 5.4, on GNOME 3. Did you find any way around this...?