aboutsummaryrefslogtreecommitdiffstats
path: root/examples/scriptableapplication
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-02-23 17:39:50 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-02-23 17:08:00 +0000
commit28f76593fa6177a3a97fd308f0404529a7337169 (patch)
tree18228f879dadb603c0c1d7a872dc3dc57939e911 /examples/scriptableapplication
parent346daaa093a3939de17ffcb5d6a2761c5fc2e0f2 (diff)
Update and unify README.md of our binding examples
ninja is the only working generator for Qt 6. Pick-to: 6.0 Change-Id: I9640f646ffea7b21659966680df52a21ead7119d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/scriptableapplication')
-rw-r--r--examples/scriptableapplication/README.md18
1 files changed, 7 insertions, 11 deletions
diff --git a/examples/scriptableapplication/README.md b/examples/scriptableapplication/README.md
index 3d31fba3d..d7773c320 100644
--- a/examples/scriptableapplication/README.md
+++ b/examples/scriptableapplication/README.md
@@ -60,26 +60,22 @@ To build this example with CMake you will need a recent version of CMake (3.1+).
You can build this example by executing the following commands
(slightly adapted to your file system layout) in a terminal:
-On macOS/Linux:
+macOS/Linux:
```bash
cd ~/pyside-setup/examples/scriptableapplication
-mkdir build
-cd build
-cmake -H.. -B. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
-make
-./scriptableapplication
```
On Windows:
```bash
cd C:\pyside-setup\examples\scriptableapplication
+```
+
+```bash
mkdir build
cd build
-cmake -H.. -B. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
-# or if you have jom available
-# cmake -H.. -B. -G "NMake Makefiles JOM" -DCMAKE_BUILD_TYPE=Release
-nmake # or jom
-scriptableapplication.exe
+cmake -H.. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release
+ninja
+./scriptableapplication
```
### Using QMake