Review Request 119037: Fix KAuth backend loading

Aleix Pol Gonzalez aleixpol at kde.org
Tue Jul 1 10:49:29 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119037/
-----------------------------------------------------------

(Updated July 1, 2014, 10:49 a.m.)


Review request for KDE Frameworks and Vishesh Handa.


Changes
-------

Use QCoreApplication::libraryPaths().


Repository: kauth


Description
-------

So far we were looking at relative directories to the install prefix, and it was never finding anything. The reason it didn't find anything is that nobody had tested kauth before with a plugin.

This patch changes this so we rebase those relative paths on top of the QT_PLUGIN_PATH, so that we have a list of absolute paths to look for.


Diffs (updated)
-----

  src/BackendsManager.cpp d63fb25 
  src/CMakeLists.txt 9fed6f2 
  src/ConfigureChecks.cmake e57873e 

Diff: https://git.reviewboard.kde.org/r/119037/diff/


Testing
-------

When I launch "kcmshell5 clock", I get a crash because the backend is loaded and it crashes.


Thanks,

Aleix Pol Gonzalez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140701/14d0a922/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list