[Bug 754108] [NEW] Hardcode the kde4 plugin path instead of relying on Trolltech.conf

Felix Geyer debfx-pkg at fobos.de
Thu Apr 7 22:00:06 UTC 2011


Public bug reported:

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

** Affects: qt4-x11 (Ubuntu)
     Importance: Medium
         Status: Triaged


** Tags: kubuntu

** Changed in: qt4-x11 (Ubuntu)
   Importance: Undecided => Medium

** Changed in: qt4-x11 (Ubuntu)
       Status: New => Triaged

** Changed in: qt4-x11 (Ubuntu)
    Milestone: None => later

** Tags added: kubuntu

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/754108

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




More information about the kubuntu-bugs mailing list