From e94a45d3b44a2bb0972392e195fd7b7d94953d82 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 15 Sep 2019 19:55:03 +0800 Subject: update qt project tempalte --- guide/project_examples.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'guide/project_examples.md') 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 -- cgit v1.2.3