You are not logged in.

#1 2014-03-06 04:42:29

usernameistaken
Member
Registered: 2014-03-06
Posts: 2

Mouse cursor theme under Qt5 application different from others.

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. smile



-- 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

#2 2014-06-11 17:39:37

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Mouse cursor theme under Qt5 application different from others.

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

#3 2014-06-11 21:18:19

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,095

Re: Mouse cursor theme under Qt5 application different from others.

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

#4 2014-06-11 21:41:08

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Mouse cursor theme under Qt5 application different from others.

@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

Board footer

Powered by FluxBB