Review Request 126618: Make CMake macro kcoreaddons_desktop_to_json() work on windows.

Kåre Särs kare.sars at iki.fi
Fri Mar 11 20:19:17 UTC 2016


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

(Updated March 11, 2016, 8:19 p.m.)


Review request for KDE Frameworks.


Changes
-------

Changed to FULL version of KSERVICETYPES5DIR and remove the unneeded additional search path.


Repository: kcoreaddons


Description (updated)
-------

Without this patch kcoreaddons_desktop_to_json() will not find the service type destop file.

On windows GenericDataLocation returns "C:/Users/<USER>/AppData/Local" or "C:/ProgramData". That is not a path that contains any destop files ;)

This patch adds KDE_INSTALL_FULL_KSERVICETYPES5DIR as fist item in the search paths and if not found searches like before.


Diffs (updated)
-----

  KF5CoreAddonsMacros.cmake 5d8e3d4 

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


Testing
-------

KTextEditor compiles on windows


Thanks,

Kåre Särs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160311/6a7ee5d1/attachment.html>


More information about the Kde-frameworks-devel mailing list