KDEConnect Digest, Vol 38, Issue 2

Antoine Prang antoine.prang at gmail.com
Sun Mar 5 12:24:24 UTC 2017


Hello,

to build kdeconnect on kubuntu, I use the following cmake commande (from a
build folder):

 - cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ..

and then:
 - make
 - sudo make install

And it works like a charm !
The error you noticed is solved by adding the parameter USE_QT_SYS_PATHS=ON.
I dont understand well the impact of this parameter, but it works.

This solution was previously given in this mailling, but Indeed it would be
great if this is added in the Readme or somewhere else.

Antoine


2017-03-05 13:00 GMT+01:00 <kdeconnect-request at kde.org>:

> Send KDEConnect mailing list submissions to
>         kdeconnect at kde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.kde.org/mailman/listinfo/kdeconnect
> or, via email, send a message with subject or body 'help' to
>         kdeconnect-request at kde.org
>
> You can reach the person managing the list at
>         kdeconnect-owner at kde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of KDEConnect digest..."
>
>
> Today's Topics:
>
>    1. Building and installing KDE Connect from source (Raphaël Jakse)
>    2. Re: Building and installing KDE Connect from source
>       (Nerijus Baliunas)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 5 Mar 2017 10:39:32 +0100
> From: Raphaël Jakse <raphael+kdeconnect at jakse.fr>
> To: kdeconnect at kde.org
> Subject: Building and installing KDE Connect from source
> Message-ID: <1fabcf44-7380-e510-4921-6b5f089d70c3 at jakse.fr>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hello,
>
> Thank you for making KDE Connect, it is a useful piece of work.
>
> I would like to study its the code. I'm unable to build and install
> kdeconnect from source (git master).
>
> I am running Kubuntu 16.10 x86-64 (Plasma 5.7.5, Frameworks 5.26.0, Qt
> 5.6.1). I did not find any build / installation guide so here is what I
> did:
>
> - uninstall kdeconnect packages from the distribution.
> - install dependencies for kdeconnect
> - Then:
>
> git clone git://anongit.kde.org/kdeconnect-kde.git
> cd kdeconnect-kde
> mkdir build
> cd build
> cmake ..
> make -j5
> sudo make install
>
> I did not see any error. I restarted plasmashell using killall
> plasmashell ; plasmashell. The KDE Connect icon shows up in plasma. If I
> click on it, I get an error message. Translated in English, it says:
> Error loading the QML file:
> file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/
> contents/ui/main.qml:24:1:
> module "org.kde.kdeconnect" is not installed.
>
> Using the kdeconnect-indicator, if I try clicking on "Configure", it
> does not find the shared library kcm_kdecconnect.so.
>
> I worked around it running: sudo ln -s
> /usr/lib/x86_64-linux-gnu/plugins/kcm_kdeconnect.so
> /usr/lib/x86_64-linux-gnu/qt5/plugins/
> Then, it seems to run correctly.
>
> (I tried using prefix /usr for installing kdeconnect since it failed in
> /usr/local, that is why it is in /usr)
>
> I did not succeed in working around the "module "org.kde.kdeconnect" is
> not installed".
>
> Did I do something wrong for the kc_connect.so library not to end up in
> the qt5/plugins folder and for the plasma complaining for the module
> that is not installed?
>
> Kind regards,
> Raphaël
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 5 Mar 2017 13:23:26 +0200
> From: Nerijus Baliunas <nerijus at users.sourceforge.net>
> To: kdeconnect at kde.org
> Subject: Re: Building and installing KDE Connect from source
> Message-ID: <Mahogany-0.68.0-29403-20170305-132326.01 at nerijus.sat.lt>
> Content-Type: TEXT/PLAIN; CHARSET=UTF-8
>
> On Sun, 5 Mar 2017 10:39:32 +0100 Raphaël Jakse <
> raphael+kdeconnect at jakse.fr> wrote:
>
> > I am running Kubuntu 16.10 x86-64 (Plasma 5.7.5, Frameworks 5.26.0, Qt
> > 5.6.1). I did not find any build / installation guide so here is what I
> did:
> >
> > - uninstall kdeconnect packages from the distribution.
> > - install dependencies for kdeconnect
> > - Then:
> >
> > git clone git://anongit.kde.org/kdeconnect-kde.git
> > cd kdeconnect-kde
> > mkdir build
> > cd build
> > cmake ..
> > make -j5
> > sudo make install
>
> I'd suggest looking at the source kdeconnect package for your distro to see
> the build flags they are using, and ideally to build the package yourself.
>
> Regards,
> Nerijus
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> KDEConnect mailing list
> KDEConnect at kde.org
> https://mail.kde.org/mailman/listinfo/kdeconnect
>
>
> ------------------------------
>
> End of KDEConnect Digest, Vol 38, Issue 2
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20170305/37be792b/attachment.html>


More information about the KDEConnect mailing list