Integrating Qt Examples/zh: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''简体中文''' [[Integrating-Qt-Examples|English]] [[Integrating-Qt-Examples Russian|Русский]] [[Integrating-Qt-Examples-Spanish|Spanish]] [[Integrating-Qt-Examples Italian|Italian]]
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}


=集成 Qt 的例子=
'''简体中文''' [[Integrating Qt Examples|English]] [[Integrating Qt Examples_Russian|Русский]] [[Integrating Qt Examples Spanish|Spanish]] [[Integrating Qt Examples_Italian|Italian]]


一旦你编写了一个例子(见 [[Writing-Qt-Examples|编写Qt例子]])并为其编写了文档,你需要下列操作来确保它在Qt的构建与文档系统内工作正常:
= 集成 Qt 的例子 =
 
一旦你编写了一个例子(见 [[Writing Qt Examples|编写Qt例子]])并为其编写了文档,你需要下列操作来确保它在Qt的构建与文档系统内工作正常:


# 确保例子的 .pro 文件包含安装的标准规则。
# 确保例子的 .pro 文件包含安装的标准规则。
# 添加例子目录到父目录内的 .pro 文件中。
# 添加例子目录到父目录内的 .pro 文件中。
# 在 ''doc/src/example'' 目录中为该例子添加文档。确保创建一个文件名以 '' -example.png'' 结尾的屏幕截图。
# 在 ''doc/src/example'' 目录中为该例子添加文档。确保创建一个文件名以 '' -example.png'' 结尾的屏幕截图。
# 确保例子和文档文件被正确地授权。为例子和文档使用现有许可证头部(license headers)并相应地更新年份。
# 确保例子和文档文件被正确地授权。为例子和文档使用现有许可证头部(license headers)并相应地更新年份。
# 在相关的节中添加一个到例子文档文件 ''doc/src/examples.qdoc'' 的链接。
# 在相关的节中添加一个到例子文档文件 ''doc/src/examples.qdoc'' 的链接。
# 通过编辑文件 ''demos/qtdemo/xml/examples.xml'' 将例子添加到 qtdemo。
# 通过编辑文件 ''demos/qtdemo/xml/examples.xml'' 将例子添加到 qtdemo。
===Categories:===
* [[:Category:Developing Qt|Developing_Qt]]
** [[:Category:Developing Qt::Documentation|Documentation]]
* [[:Category:SimplifiedChinese|SimplifiedChinese]]
** [[:Category:SimplifiedChinese::Developing Qt|Developing_Qt]]
*** [[:Category:SimplifiedChinese::Developing Qt::Documentation|Documentation]]

Latest revision as of 16:01, 16 March 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

简体中文 English Русский Spanish Italian

集成 Qt 的例子

一旦你编写了一个例子(见 编写Qt例子)并为其编写了文档,你需要下列操作来确保它在Qt的构建与文档系统内工作正常:

  1. 确保例子的 .pro 文件包含安装的标准规则。
  2. 添加例子目录到父目录内的 .pro 文件中。
  3. doc/src/example 目录中为该例子添加文档。确保创建一个文件名以 -example.png 结尾的屏幕截图。
  4. 确保例子和文档文件被正确地授权。为例子和文档使用现有许可证头部(license headers)并相应地更新年份。
  5. 在相关的节中添加一个到例子文档文件 doc/src/examples.qdoc 的链接。
  6. 通过编辑文件 demos/qtdemo/xml/examples.xml 将例子添加到 qtdemo。