Building and installing KDE Connect from source

Amish Naidu amhndu at gmail.com
Sat Mar 11 14:32:48 UTC 2017


Hi,
I was able to install it succesfully with some additional cmake flags

$ cmake ../kdeconnect-kde \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_BUILD_TYPE=Release \
  -DLIB_INSTALL_DIR=lib \
  -DLIBEXEC_INSTALL_DIR=lib

Try these flags.


On Sat, Mar 11, 2017 at 6:44 PM Raphaël Jakse <raphael+kdeconnect at jakse.fr>
wrote:

> Thanks for your answer.
>
> It seems I get the same error if I install with
> KDE_INSTALL_USE_QT_SYS_PATHS=OFF.
>
> 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.
>
> Raphaël
>
> Le 05/03/2017 à 14:39, Albert Vaca a écrit :
> > You probably installed it in the wrong place.
> >
> > First go to the build directory and do "sudo make uninstall".
> >
> > Then run "ccmake .." to open the cmake curses interface. There change
> > CMAKE_INSTALL_PREFIX to "/usr" and KDE_INSTALL_USE_QT_SYS_PATHS to
> > "OFF" and run make and make install again.
> >
> > Note that you are installing it as root, and overriding the files your
> > distro already have installed. It is thus a good idea, to remove the
> > distro kdeconnect package if you had it installed before installing it
> > this way, and always do "make uninstall" before going back to the
> > distro packages.  Otherwise you will end up with a mix of both
> > versions that will most likely not work.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20170311/8de42e1f/attachment.html>


More information about the KDEConnect mailing list