<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thank you, it seems to work!<br>
    </p>
    <p>Yes, I tried to look at the source packages, but didn't find
      anything. Maybe I didn't look at the right places though. I didn't
      manage to find the relevant mail in the mailing list neither
      though I did spend time looking for the information.</p>
    <p>Raphaël<br>
    </p>
    Le 05/03/2017 à 13:24, Antoine Prang a écrit :<br>
    <blockquote
cite="mid:CAHS0d+FJounoOC1wCrVRjJz=1koo9n+K6u4_m34_2NCpo4DNxA@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="mailto:kdeconnect@kde.org">kdeconnect@kde.org</a><br>
            <br>
            To subscribe or unsubscribe via the World Wide Web, visit<br>
                    <a moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="mailto:kdeconnect-request@kde.org">kdeconnect-request@kde.org</a><br>
            <br>
            You can reach the person managing the list at<br>
                    <a moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="mailto:raphael%2Bkdeconnect@jakse.fr">raphael+kdeconnect@jakse.fr</a>><br>
            To: <a moz-do-not-send="true"
              href="mailto:kdeconnect@kde.org">kdeconnect@kde.org</a><br>
            Subject: Building and installing KDE Connect from source<br>
            Message-ID: <<a moz-do-not-send="true"
              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 moz-do-not-send="true"
              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>
            <a class="moz-txt-link-freetext" href="file:///usr/share/plasma/">file:///usr/share/plasma/</a><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 moz-do-not-send="true"
              href="mailto:nerijus@users.sourceforge.net">nerijus@users.sourceforge.net</a><wbr>><br>
            To: <a moz-do-not-send="true"
              href="mailto:kdeconnect@kde.org">kdeconnect@kde.org</a><br>
            Subject: Re: Building and installing KDE Connect from source<br>
            Message-ID: <<a moz-do-not-send="true"
              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
              moz-do-not-send="true"
              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 moz-do-not-send="true"
              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 moz-do-not-send="true" href="mailto:KDEConnect@kde.org">KDEConnect@kde.org</a><br>
            <a moz-do-not-send="true"
              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>
    </blockquote>
    <br>
  </body>
</html>