nymea / nymea-networkmanager

This daemon allows to set up the wireless network using a Bluetooth LE connection.
GNU General Public License v3.0
57 stars 17 forks source link

Build instructions? #4

Closed logidelic closed 5 years ago

logidelic commented 6 years ago

Thank you for this interesting project. I am trying to test it out on an Nvidia TX2. Unfortunately, the pre-built library errors with version 'Qt_5' not found (even though it is finding the correct qt5 .so files). I'm guessing that the easiest solution is to rebuild nymea-networkmanager and link against my installed qt5 library.

How can I rebuild? Are there instructions somewhere (I read the docs but couldn't find it...).

t-mon commented 5 years ago

Hi! Sorry for the late response, the notification got lost. The build process depends a little bit on you operating system. For debian based systems you need following build packages: qtbase5-dev qtbase5-dev-tools libqt5bluetooth5 qtconnectivity5-dev git

The clone the git repository and change to the source directory.

$ mkdir build
$ cd build
$ qmake ..
$ make -j`nproc`

Hope this helps! Please let me know if it worked, then I'll write it into the README.md file. Thanks :)