diff options
| author | ruki <waruqi@gmail.com> | 2019-09-15 19:55:03 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2019-09-15 19:55:03 +0800 |
| commit | e94a45d3b44a2bb0972392e195fd7b7d94953d82 (patch) | |
| tree | 90836877de5acbd5dfddfcf7506c0082c743ccbd | |
| parent | b2297798b77d3a52133a3c56dd803fcccc15eb67 (diff) | |
| download | xmake-docs-e94a45d3b44a2bb0972392e195fd7b7d94953d82.tar.gz xmake-docs-e94a45d3b44a2bb0972392e195fd7b7d94953d82.zip | |
update qt project tempalte
| -rw-r--r-- | guide/project_examples.md | 14 | ||||
| -rw-r--r-- | zh-cn/guide/project_examples.md | 14 |
2 files changed, 28 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 diff --git a/zh-cn/guide/project_examples.md b/zh-cn/guide/project_examples.md index ab8892f8..accfb977 100644 --- a/zh-cn/guide/project_examples.md +++ b/zh-cn/guide/project_examples.md @@ -41,6 +41,20 @@ target("test") 创建一个空工程: +v2.2.9以上版本: + +```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 +``` + +更多工程模板见:`xmake create --help` + +v2.2.8以前老版本: + ```console $ xmake create -l c++ -t console_qt test $ xmake create -l c++ -t static_qt test |
