Building and installing KDE Connect from source

Raphaël Jakse raphael+kdeconnect at jakse.fr
Sat Mar 11 17:02:41 UTC 2017


It seems to work, thank you very much!
Raphaël


Le 11/03/2017 à 15:32, Amish Naidu a écrit :
> 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 <mailto:raphael%2Bkdeconnect 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/d5e67a54/attachment.html>


More information about the KDEConnect mailing list