Replacing installed KDEConnect with compiled KDEConnect

Ashish Bansal bansal.ashish096 at gmail.com
Sat Aug 8 05:58:25 UTC 2015


On Sat, Aug 8, 2015 at 10:30 AM, Joshua Christopher <joshuadevmail at gmail.com
> wrote:

> Hello,
>
> What is the proper way to replace the repository-installed version of
> kdeconnect with my compiled version of kdeconnect?
>
> I've tried killing the kdeconnectd and then running my compiled
> kdeconnectd, but things just aren't quite working right.

First, I'd expect the icon to disappear when I kill the daemon and reappear
> when I start my compiled version. This is not so (the behaviour is wonky
> when a daemon is not running, and sometimes restarts the daemon on some
> actions).
>
> Second, my phone and computer seem to pair up when running the compiled
> daemon, but none of the plugins are working (i.e. no response to ping on
> either end, can't browse the device in Dolphin, no battery life in the
> kdeconnect applet, can't use the remote input, etc.)
>
>
kdeconnect uses  KPluginLoader to find the plugins installed on the
computer. So, it scans standard directories where Qt plugins are installed
e.g.
/usr/lib/qt/plugins/kdeconnect/

It might be the reason that plugins are not working as it's trying to load
plugins from repository installed version of kdeconnect.

So, you can do two things. Either configure the environment variables like
QT_PLUGIN_PATH and others, so that application doesn't scans those plugins
in standard directories and then build/run kdeconnect or remove the
repository version of kdeconnect and then install the compiled version
globally and run it.



> Here is the output from terminal:
>
> joshua at joshbuntu:~/Programs/lib/x86_64-linux-gnu$ ./libexec/kdeconnectd
> kdeconnect.core: KdeConnect daemon starting
> kdeconnect.core: Broadcasting identity packet
> kdeconnect.core: KdeConnect daemon started
> kf5.kiconthemes: "Theme tree: (Breeze)"
> kdeconnect.core: Device "Samsung Galaxy S4" status changed. Reachable:
> true . Paired:  true
>
> I am installing (using cmake prefix dir) into ~/Programs (and the usual
> subdirs ./bin ./lib etc.)
>
> I'm only concerned with compiling the desktop version for now, Kubuntu
> 15.04, Plasma 5.2.2, Qt 5.4.1, 64 bit OS.
>
> Thank you,
> Joshua
> _______________________________________________
> KDEConnect mailing list
> KDEConnect at kde.org
> https://mail.kde.org/mailman/listinfo/kdeconnect
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20150808/519e0a79/attachment.html>


More information about the KDEConnect mailing list