.. _lbl-how-to-build:
How to Build
=============
To build the tool follow the instructions below:
#. Install `Qt `_. Qt is free for open source developers.
#. Download and install the qwt library following the instructions `here `__.
#. Download and install the MKL library following the instructions `here `__.
#. Download this repository from `Github `_.
#. Download the SimCenterCommon repository from `Github `__.
#. Open the file TransferFunctionTool.pro using Qt Creator, and change the path to the appropriate qwt and MKL folders as installed in your system.
#. Build the |appName| by clicking the Run button.
Alternative build method using Conan:
#. Install `Qt `_. Qt is free for open source developers.
#. Download and install the qwt library following the instructions `here `__.
#. Install the MKL library using the C/C++ package manager Conan
* Install conan with `pip `_ (requires python)
* Add the necessary remotes to the conan enviroment using:
::
conan remote add simcenter https://api.bintray.com/conan/nheri-simcenter/simcenter
conan remote add conan-community https://api.bintray.com/conan/conan-community/conan
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
#. Download this repository from `Github `__.
#. Open the file TransferFunctionTool.pro using Qt Creator, and change the path to the appropriate qwt folder as installed in your system.
#. Run qmake.
#. Build the |appName| by clicking the Run button.