[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-mac
Subject:    Re: [KDE/Mac] Cross-platform with kdeinit5, klauncher5, kded5 and friends
From:       <mk-lists () email ! de>
Date:       2015-02-13 23:51:06
Message-ID: 9D0BCCB9-666A-4C5A-B86D-104BA86B8101 () email ! de
[Download RAW message or body]

Hi Jeremy and Ian,

I just wanted to write about that I can’t start filelight successfully on OSX/CI and \
then I saw this text about filelight's kpart:

On 31 Jan 2015, at 03:24 , Jeremy Whiting <jpwhiting@kde.org> wrote:
> As for KParts and services I think most of those come from either kservices5, \
> kservicetypes5. I'm not sure if those sets of data are cached by kbuildsycoca5 or \
> not, but they aren't by the code path that's taking a while on osx currently \
> (VFolder::loadApplications). For example filelight which has a kpart has installed \
> /usr/local/share/kservices5/filelightpart.desktop here. As for services I think \
> those are all defined as dbus services in $PREFIX/share/dbus/services/*.service


How can we achieve that filelight searches for it’s kpart's desktop file in the right
location, being here on the OSX/CI system at

  /opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/kdeutils/filelight/inst/share/kservices5/filelightpart.desktop


???

KService should be able to find the part
---
    KService::Ptr service = \
                KService::serviceByDesktopName(QStringLiteral("filelightpart"));
---
as I deliberately pass on the XDG_DATA_DIRS env var containing also

	/opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/kdeutils/filelight/inst/share

but I wonder why KService still can’t seem to find it.

How to debug this?

Greets,
Marko
_______________________________________________
kde-mac@kde.org
List Information: https://mail.kde.org/mailman/listinfo/kde-mac
KDE/Mac Information: http://community.kde.org/Mac


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic