Bug 18209 - Qt4 Oxygen style does not show up on qtconfig list
Summary: Qt4 Oxygen style does not show up on qtconfig list
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-15 18:50 CEST by Arcee
Modified: 2017-03-14 18:18 CET (History)
3 users (show)

See Also:
Source RPM: qt4, qt4-style-oxygen
CVE:
Status comment:


Attachments

Description Arcee 2016-04-15 18:50:52 CEST
Description of problem:

Installing qt4-style-oxygen does not make it available via qtconfig, under Plasma 5.


Version-Release number of selected component (if applicable):

5.6.2


How reproducible:

Always.


Steps to Reproduce:
1. install qt4-style-oxygen.
2. run qtconfig.
3. Oxygen is not in the list of available themes.
Comment 1 JanKusanagi 2016-04-17 18:51:30 CEST
Same here, under Plasma 5, with current Cauldron.

I imagine this has something to do with Qt paths and environment variables, regarding where Qt 4 finds its themes.

CC: (none) => jan-bugs

Comment 2 Marja Van Waes 2016-04-24 16:03:16 CEST
Assigning to Qt4 maintainer

CC: (none) => marja11
Assignee: bugsquad => mageia
Source RPM: qt4-style-oxygen => qt4, qt4-style-oxygen

Samuel Verschelde 2016-08-25 16:24:32 CEST

Assignee: mageia => kde

Comment 3 JanKusanagi 2016-09-08 17:53:46 CEST
Ok, now that I'm using Mageia Cauldron again (great job, BTW!), I've been able to look at this issue closely, and I have a fix, but I'm not sure how this would be properly provided to users in an automated way.

The thing seems to be that the QT_PLUGIN_PATH environment variable does not point to the proper Qt4 plugins directory. In fact, the variable does not even exist on my system.

Adding the line "export QT_PLUGIN_PATH=/usr/lib64/kde4/plugins" (for x86_64) in my ~/.profile or in /etc/profile makes it work. Now 'qtconfig' lists Oxygen in the styles list, and it applies correctly =)

I imagine this could be provided with a specific file in /etc/profile.d/.
I've just checked that, and I have already a "60qt4.sh" there, that could probably have this added.

Thanks!



Related: https://wiki.archlinux.org/index.php/Qt#Qt4_style_not_respected
Comment 4 Nicolas Lécureuil 2017-03-14 18:18:04 CET
works fine on current cauldron.
Closing.

Status: NEW => RESOLVED
CC: (none) => mageia
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.