<div dir="ltr">Hello,<div><br></div><div>I checked out the kdeconnect-kde repository and have been trying to compile from sources. I have been able to get it running. However, when I connect via the phone, I see an empty list in the main activity. I spent a few hours digging -- from the PluginFactory Java class (in Android) to pluginloader.cpp. I am stuck at the point where KPluginLoader::findPlugins("kdeconnect/") in PluginLoader constructor returns an empty vector causing all downstream capabilities listing to silently fail. From the documentation I, sort of, understand that it is a directory -- but where is it? The docs say it looks for JSON files within the subdirectories under it. Should this be plugins directory instead? I tried passing in, without any success, the absolute path to my local kdeconnect-kde/plugins directory. I would really appreciate any pointers or help.</div><div><br></div><div>Details about my environment:</div><div> - KDE Plasma version: 5.6.5</div><div> - KDE Frameworks version: 5.23.0</div><div> - QT Version: 5.5.1</div><div> - Kernel version: 4.4.0-31-generic</div><div><br></div><div>My method to run and debug:</div><div> - make && sudo make install</div><div> - (kill kdeconnectd)</div><div> - call "kdeconnect-cli -l" (seems to have a side effect of starting the daemon if not running)</div><div> - check logs using "tail -f /var/log/syslog | grep kdeconn"</div><div><br></div><div><br></div><div>On a slightly different note: I had compile issues with pluginloader.cpp within the function "pluginsForCapabilities(..)" for that's using qSet1.intersects(qSet2). This is unavailable in Qt5.5. I replaced it with an inefficient equivalent:<br><div> if ((pluginIncomingCapabilities.isEmpty()</div><div> && pluginOutgoingCapabilities.isEmpty())</div><div><span style="line-height:1.5"> || (incoming & pluginOutgoingCapabilities).size()</span></div><div><span style="line-height:1.5"> || (outgoing & pluginIncomingCapabilities).size()) { .. }</span></div></div><div><span style="line-height:1.5"><br></span></div><div>Would it make sense to not use .intersects(..) -- because that is the only line of code in the entire source that causes the compile to fail on QT version 5.5 - 5.6 ?</div><div><br></div><div>Thanks,</div><div>Srivatsan</div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><p dir="ltr">Srivatsan Iyer</p>
</div>