aboutsummaryrefslogtreecommitdiff
path: root/guide
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2019-09-15 19:55:03 +0800
committerruki <waruqi@gmail.com>2019-09-15 19:55:03 +0800
commite94a45d3b44a2bb0972392e195fd7b7d94953d82 (patch)
tree90836877de5acbd5dfddfcf7506c0082c743ccbd /guide
parentb2297798b77d3a52133a3c56dd803fcccc15eb67 (diff)
downloadxmake-docs-e94a45d3b44a2bb0972392e195fd7b7d94953d82.tar.gz
xmake-docs-e94a45d3b44a2bb0972392e195fd7b7d94953d82.zip
update qt project tempalte
Diffstat (limited to 'guide')
-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