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 --- zh-cn/guide/project_examples.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'zh-cn') 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 -- cgit v1.2.3