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

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

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

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