<div dir="ltr">Hello,<div><br></div><div>to build kdeconnect on kubuntu, I use the following cmake commande (from a build folder):</div><div><br></div><div> - cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ..<br></div><div><br></div><div>and then:</div><div> - make</div><div> - sudo make install</div><div><br></div><div>And it works like a charm !</div><div>The error you noticed is solved by adding the parameter USE_QT_SYS_PATHS=ON.</div><div>I dont understand well the impact of this parameter, but it works.</div><div><br></div><div>This solution was previously given in this mailling, but Indeed it would be great if this is added in the Readme or somewhere else.</div><div><br></div><div>Antoine </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-05 13:00 GMT+01:00  <span dir="ltr"><<a href="mailto:kdeconnect-request@kde.org" target="_blank">kdeconnect-request@kde.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send KDEConnect mailing list submissions to<br>
        <a href="mailto:kdeconnect@kde.org">kdeconnect@kde.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mail.kde.org/mailman/listinfo/kdeconnect" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/<wbr>listinfo/kdeconnect</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:kdeconnect-request@kde.org">kdeconnect-request@kde.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:kdeconnect-owner@kde.org">kdeconnect-owner@kde.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of KDEConnect digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Building and installing KDE Connect from source (Raphaël Jakse)<br>
   2. Re: Building and installing KDE Connect from source<br>
      (Nerijus Baliunas)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Sun, 5 Mar 2017 10:39:32 +0100<br>
From: Raphaël Jakse <<a href="mailto:raphael%2Bkdeconnect@jakse.fr">raphael+kdeconnect@jakse.fr</a>><br>
To: <a href="mailto:kdeconnect@kde.org">kdeconnect@kde.org</a><br>
Subject: Building and installing KDE Connect from source<br>
Message-ID: <<a href="mailto:1fabcf44-7380-e510-4921-6b5f089d70c3@jakse.fr">1fabcf44-7380-e510-4921-<wbr>6b5f089d70c3@jakse.fr</a>><br>
Content-Type: text/plain; charset=utf-8; format=flowed<br>
<br>
Hello,<br>
<br>
Thank you for making KDE Connect, it is a useful piece of work.<br>
<br>
I would like to study its the code. I'm unable to build and install<br>
kdeconnect from source (git master).<br>
<br>
I am running Kubuntu 16.10 x86-64 (Plasma 5.7.5, Frameworks 5.26.0, Qt<br>
5.6.1). I did not find any build / installation guide so here is what I did:<br>
<br>
- uninstall kdeconnect packages from the distribution.<br>
- install dependencies for kdeconnect<br>
- Then:<br>
<br>
git clone git://<a href="http://anongit.kde.org/kdeconnect-kde.git" rel="noreferrer" target="_blank">anongit.kde.org/<wbr>kdeconnect-kde.git</a><br>
cd kdeconnect-kde<br>
mkdir build<br>
cd build<br>
cmake ..<br>
make -j5<br>
sudo make install<br>
<br>
I did not see any error. I restarted plasmashell using killall<br>
plasmashell ; plasmashell. The KDE Connect icon shows up in plasma. If I<br>
click on it, I get an error message. Translated in English, it says:<br>
Error loading the QML file:<br>
file:///usr/share/plasma/<wbr>plasmoids/org.kde.kdeconnect/<wbr>contents/ui/main.qml:24:1:<br>
module "org.kde.kdeconnect" is not installed.<br>
<br>
Using the kdeconnect-indicator, if I try clicking on "Configure", it<br>
does not find the shared library kcm_kdecconnect.so.<br>
<br>
I worked around it running: sudo ln -s<br>
/usr/lib/x86_64-linux-gnu/<wbr>plugins/kcm_kdeconnect.so<br>
/usr/lib/x86_64-linux-gnu/qt5/<wbr>plugins/<br>
Then, it seems to run correctly.<br>
<br>
(I tried using prefix /usr for installing kdeconnect since it failed in<br>
/usr/local, that is why it is in /usr)<br>
<br>
I did not succeed in working around the "module "org.kde.kdeconnect" is<br>
not installed".<br>
<br>
Did I do something wrong for the kc_connect.so library not to end up in<br>
the qt5/plugins folder and for the plasma complaining for the module<br>
that is not installed?<br>
<br>
Kind regards,<br>
Raphaël<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 5 Mar 2017 13:23:26 +0200<br>
From: Nerijus Baliunas <<a href="mailto:nerijus@users.sourceforge.net">nerijus@users.sourceforge.net</a><wbr>><br>
To: <a href="mailto:kdeconnect@kde.org">kdeconnect@kde.org</a><br>
Subject: Re: Building and installing KDE Connect from source<br>
Message-ID: <<a href="mailto:Mahogany-0.68.0-29403-20170305-132326.01@nerijus.sat.lt">Mahogany-0.68.0-29403-<wbr>20170305-132326.01@nerijus.<wbr>sat.lt</a>><br>
Content-Type: TEXT/PLAIN; CHARSET=UTF-8<br>
<br>
On Sun, 5 Mar 2017 10:39:32 +0100 Raphaël Jakse <<a href="mailto:raphael%2Bkdeconnect@jakse.fr">raphael+kdeconnect@jakse.fr</a>> wrote:<br>
<br>
> I am running Kubuntu 16.10 x86-64 (Plasma 5.7.5, Frameworks 5.26.0, Qt<br>
> 5.6.1). I did not find any build / installation guide so here is what I did:<br>
><br>
> - uninstall kdeconnect packages from the distribution.<br>
> - install dependencies for kdeconnect<br>
> - Then:<br>
><br>
> git clone git://<a href="http://anongit.kde.org/kdeconnect-kde.git" rel="noreferrer" target="_blank">anongit.kde.org/<wbr>kdeconnect-kde.git</a><br>
> cd kdeconnect-kde<br>
> mkdir build<br>
> cd build<br>
> cmake ..<br>
> make -j5<br>
> sudo make install<br>
<br>
I'd suggest looking at the source kdeconnect package for your distro to see<br>
the build flags they are using, and ideally to build the package yourself.<br>
<br>
Regards,<br>
Nerijus<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
KDEConnect mailing list<br>
<a href="mailto:KDEConnect@kde.org">KDEConnect@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdeconnect" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/<wbr>listinfo/kdeconnect</a><br>
<br>
<br>
------------------------------<br>
<br>
End of KDEConnect Digest, Vol 38, Issue 2<br>
******************************<wbr>***********<br>
</blockquote></div><br></div>