aboutsummaryrefslogtreecommitdiff
path: root/guide/project_examples.md
diff options
context:
space:
mode:
Diffstat (limited to 'guide/project_examples.md')
-rw-r--r--guide/project_examples.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/guide/project_examples.md b/guide/project_examples.md
index 39307165..9a867750 100644
--- a/guide/project_examples.md
+++ b/guide/project_examples.md
@@ -41,6 +41,20 @@ We use `add_deps` to link a share library to test target.
Create an empty project:
+v2.2.9 or higher:
+
+```console
+$ xmake create -l c++ -t qt.console test
+$ xmake create -l c++ -t qt.static test
+$ xmake create -l c++ -t qt.shared test
+$ xmake create -l c++ -t qt.quickapp test
+$ xmake create -l c++ -t qt.widgetapp test
+```
+
+For more project templates see: `xmake create --help`
+
+Older version of v2.2.8:
+
```console
$ xmake create -l c++ -t console_qt test
$ xmake create -l c++ -t static_qt test