From 6385450e7bf9e573da0c274e7a04ed816d9e7f6a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 14 Dec 2017 15:41:33 +0100 Subject: Updated documentation --- docs/manual/Building.Compiling.md | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'docs/manual/Building.Compiling.md') diff --git a/docs/manual/Building.Compiling.md b/docs/manual/Building.Compiling.md index bf6637e..7505755 100644 --- a/docs/manual/Building.Compiling.md +++ b/docs/manual/Building.Compiling.md @@ -1,6 +1,6 @@ # Compiling -## Creating qbs configuration +## Create qbs configuration Before you can build anything with qbs, you need to set up the compiler toolchain as well as Qt. @@ -9,36 +9,20 @@ qbs setup-toolchains --detect qbs setup-qt /usr/bin/qmake-qt5 qt5 ``` +## Compile -## Compiling - -* Create a build folder +1. Create a build folder ``` [smolbote repo]$ mkdir ../build ``` -* Run qbs +2. Build ``` [smolbote repo]$ qbs build -d ../build profile:qt5 release ``` This installs the files to ../build/release/install-root. -* Run +3. Install ``` -[smolbote repo]$ qbs run -d ../build -p poi profile:qt5 release +[smolbote repo]$ qbs install -d ../build -p poi --install-root "/install/root" profile:qt5 release ``` - -## mach -mach is a helper script that can build and run smolbote. - -#### setup -./mach setup creates a qbs configuration in :settingsDir, -by default ../build/config. - -You can edit this using qbs-config-ui --settings-dir ../build/config. - -#### run - -#### clean - -#### build -- cgit v1.2.1