From 200b86d47911b04f988731f773cd777aa8e5eafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20=20Bab=C3=AD=20Oller?= Date: Fri, 29 Jan 2021 13:50:30 -0500 Subject: [PATCH] Update Build instructions --- technical/Build-instructions.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/technical/Build-instructions.md b/technical/Build-instructions.md index c76e010f..53b7a39f 100644 --- a/technical/Build-instructions.md +++ b/technical/Build-instructions.md @@ -824,20 +824,24 @@ Once LibRingClient is built you can compile the client: cd client-qt mkdir build cd build -${YOUR_QT5_gcc64_PATH}/bin/qmake ../jami-qt.pro +cmake .. -DQT5_VER=5.15.0 -DQT5_PATH=/home//Qt/5.15.0/gcc_64 -DLRC= -DCMAKE_INSTALL_PREFIX= make ``` -If lrc library is installed in a custom directory you can set its path with the variables LRC (sources location) and LRCBUILD (built library location): -```sh -${YOUR_QT5_gcc64_PATH}/bin/qmake ../jami-qt.pro "LRC=" "LRCBUILD=" -``` +Variables `QT5_VER` and `QT5_PATH` are used to specify version and path for a custom installation of Qt. + +If lrc library is installed in a custom directory you can set its path with the variable LRC. Additionally you can specify built library location with `LRCLIB` (otherwise it will seach inside LRC with the suffixes `/lib`, `/build` and `/build-local`). Then, you are finally ready to launch jami-qt in your build directory. +If you want to install it to the path provided by `CMAKE_INSTALL_PREFIX` you can run: + +```sh +make install +``` + #### Debugging -Compile the client with `BUILD=Debug` and compile LibRingClient with -`-DCMAKE_BUILD_TYPE=Debug` +Compile the client and LibRingClient with `-DCMAKE_BUILD_TYPE=Debug` #### Known linker issues