aboutsummaryrefslogtreecommitdiff
path: root/docs/manual/Building.Compiling.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/Building.Compiling.md')
-rw-r--r--docs/manual/Building.Compiling.md28
1 files changed, 6 insertions, 22 deletions
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