You are not logged in.
I am using a cursor theme called Mac OSX Aqua under XFCE desktop environment. It works well under GTK and Qt4 applications. But the mouse cursor doesn't show the theme I want on Qt5 apps like Qt Creator 3.0 (which is based on Qt 5.2), instead of a sort of original ugly cursor. Here is some pics:
http://i.imgur.com/VpSC2uK.png
http://i.imgur.com/udxTpj3.png
http://i.imgur.com/zDvTCTt.png
I have created ~/.icons/default/index.theme with content:
[Icon Theme]
Inherits=Mac_OSX_Aqua
It only worked well with Qt4 applicaitons.
I am wondering if there is an environment variable like QT_STYLE_OVERRIDE to force Qt5 app use a theme ? I have looked up wiki, but i couldn't find out.
I will appriciate if someone can fix this.
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Last edited by usernameistaken (2014-03-06 04:50:44)
Offline
This thread is already a little bit older but I hope that you have found a solution, maybe?
I am basically looking into the same.
How can you set the mouse cursor and icon theme for Qt5 applications?
Does someone have any positive experiences?
Offline
Do you have a default theme at the system level?
I have '/usr/share/icons/default/index.theme' which sets my default mouse cursor theme:
[icon theme]
Inherits=Oxygen_Blue
In the only qt5 appli that I use 'qpdfview' I have the same 'Oxygen_Blue' theme as everywhere else.
Offline
@berbae
Great, thanks!
~ cat /usr/share/icons/default/index.theme
[Icon Theme]
Inherits=Adwaita
This successfully sets the mouse cursor icon theme.
Now the general icon theme. Any way to set this for Qt5 apps?
I use the Numix icon theme but what is used in Qt5 app (Focuswriter) is apparently the Gnome icon theme.
Screenshot: http://i.imgur.com/66j6L0Y.png
Offline