<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr">On Sat, Aug 8, 2015 at 10:30 AM, Joshua Christopher <span dir="ltr"><<a href="mailto:joshuadevmail@gmail.com" target="_blank">joshuadevmail@gmail.com</a>></span> wrote:<br></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br><br>What is the proper way to replace the repository-installed version of kdeconnect with my compiled version of kdeconnect?<br><br>I've tried killing the kdeconnectd and then running my compiled kdeconnectd, but things just aren't quite working right. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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).<br><br>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.)<br><br></blockquote><div><br></div><div>kdeconnect uses  KPluginLoader to find the plugins installed on the computer. So, it scans standard directories where Qt plugins are installed e.g.</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">/usr/lib/qt/plugins/kdeconnect/</span></span></div><div><br></div><div>It might be the reason that plugins are not working as it's trying to load plugins from repository installed version of kdeconnect.</div><div><br></div><div>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.</div><div><br></div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Here is the output from terminal:<br><br>joshua@joshbuntu:~/Programs/lib/x86_64-linux-gnu$ ./libexec/kdeconnectd<br>kdeconnect.core: KdeConnect daemon starting<br>kdeconnect.core: Broadcasting identity packet<br>kdeconnect.core: KdeConnect daemon started<br>kf5.kiconthemes: "Theme tree: (Breeze)"<br>kdeconnect.core: Device "Samsung Galaxy S4" status changed. Reachable: true . Paired:  true<br><br>I am installing (using cmake prefix dir) into ~/Programs (and the usual subdirs ./bin ./lib etc.)<br><br>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.<br><br>Thank you,<br>Joshua<br>_______________________________________________<br>KDEConnect mailing list<br><a href="mailto:KDEConnect@kde.org" target="_blank">KDEConnect@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kdeconnect" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a><br></blockquote><div><br></div></div></div></div>