Building and installing KDE Connect from source

Raphaël Jakse raphael+kdeconnect at jakse.fr
Sat Mar 11 13:14:14 UTC 2017


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.



More information about the KDEConnect mailing list