Hardcode the kde4 plugin path instead of relying on Trolltech.conf

Bug #754108 reported by Felix Geyer on 2011-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
Medium
Unassigned

Bug Description

The kde4 plugin path should be hardcoded in Qt instead of relying on the libraryPath setting in /etc/xdg/Trolltech.conf which can be overridden by ~/.config/trolltech.conf.

The order in QCoreApplication::libraryPath() is important if there are multiple KDE versions installed (see https://bugs.kde.org/267770).
It should be:
1) QT_PLUGIN_PATH env variable
2) path added by kdelibs (KComponentDataPrivate::lazyInit())
3) hardcoded /usr/lib/kde4/plugins

Fedora has a patch that adds the kde4 plugin path but afaik switches 2) and 3):
http://pkgs.fedoraproject.org/gitweb/?p=qt.git;a=blob;f=qt-everywhere-opensource-src-4.7.0-beta2-kde4_plugins.patch;h=822ace87f0d21c8ee3af99ee44887730a59324b1;hb=HEAD

Felix Geyer (debfx) on 2011-04-07
Changed in qt4-x11 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
milestone: none → later
tags: added: kubuntu
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers