# Compiling ## Create qbs configuration Before you can build anything with qbs, you need to set up the compiler toolchain as well as Qt. ``` qbs setup-toolchains --detect qbs setup-qt /usr/bin/qmake-qt5 qt5 ``` ## Compile 1. Create a build folder ``` [smolbote repo]$ mkdir ../build ``` 2. Build ``` [smolbote repo]$ qbs build -d ../build profile:qt5 release ``` This installs the files to ../build/release/install-root. 3. Install ``` [smolbote repo]$ qbs install -d ../build -p poi --install-root "/install/root" profile:qt5 release ```