Getting Started/zh-cn: Difference between revisions

    From KDE TechBase
    (Created page with "{{Warning|为反映新的KDE基础设施,目前这些网页正被完全重写,可能包含不一致的内容。一些网页上的信息和命令可能不再有效,请小心...")
    (Created page with "== 开发工具 ==")
    (30 intermediate revisions by 4 users not shown)
    Line 3: Line 3:
    {{Warning|为反映新的KDE基础设施,目前这些网页正被完全重写,可能包含不一致的内容。一些网页上的信息和命令可能不再有效,请小心使用。}}
    {{Warning|为反映新的KDE基础设施,目前这些网页正被完全重写,可能包含不一致的内容。一些网页上的信息和命令可能不再有效,请小心使用。}}


    {{Template:I18n/Language Navigation Bar|Getting_Started}}
    ==简介==


    == Introduction ==
    [http://community.kde.org/Getinvolved 加入] KDE 社区方式多种多样,最常见的方式是从单纯使用我们的软件开始到最终成为核心平台开发者。


    There are many different ways to become involved in the KDE Community, ranging all the way from a simply using our software through to being a core platform developer.
    本部分内容属于 KDE TechBase,用于引导您加入 KDE 社区的技术部落。您将了解到 KDE 软件的结构及如何构建,以及如何构建您自己的 KDE 软件。


    You can find more general information on getting involved in KDE at the following links:
    ==使用 KDE 软件==
    * [http://kde.org/community/getinvolved/ Getting Involved in KDE]
    * [[Contribute|Contribute to KDE]]


    This section of KDE TechBase is designed to help get you started in participating in the technical side of the KDE community.  It will explain to you how KDE Software is structured and built, and how you can participate by building KDE for yourself.
    如果您仅仅是想使用稳定版的 KDE 软件用于日常计算需求的话,那么您就不需要自己构建 KDE 软件,只需要使用 Linux 发行商提供的安装包安装即可。


    {{Note|'''Quickstart:''' If you are impatient to get started without understanding what you are doing then you can skip straight to using a [[/Build#Scripted_Builds|Build Script]], but it is strongly recommended you read this documentation first.}}
    学习如何使用 KDE 软件的最佳地点就是发行商的网站的技术支持频道。不过你也可以在下面这些链接的页面发现有用的信息:
    * [http://www.kde.org/download/distributions.php 预装 KDE 的发行版]
    * [[Special:myLanguage/Getting_Started/Build/Distributions|在 Linux 和 BSD 发行版上安装 KDE 软件]]
    * [[Special:myLanguage/Projects/KDE_on_Windows/Installation|在 Windows 上安装 KDE 软件]]
    * 在 Mac OS X 上,目前还没有有效的 KDE 软件安装包,但是你可以使用 [http://mac.kde.org/?id=build MacPorts or Fink] 轻松的构建


    == Using KDE Software ==
    == 获取帮助 ==


    If you just want to use stable KDE software for your everyday computing needs, then you do not need to build KDE Software for yourself. You should instead use the software installer provided by your Linux distribution to install KDE package.
    如果您正在寻找 KDE Workspace 或 KDE 应用程序帮助信息的话,那么请访问 [http://userbase.kde.org/ KDE UserBase].  


    The best place to learn how to do this is through your distributions normal support channels, although you may find some useful information on the following pages:
    如果您在构建或开发 KDE 软件期间有任何的问题或困难,您可以[[Special:myLanguage/Development/Getting_Help|求助]]。 However, be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it ''all'' for you. Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way.
    * [http://www.kde.org/download/distributions.php Distributions shipping KDE]
    * [[/Build/Distributions|Install KDE Software on Linux and BSD Distributions]]
    * [[Projects/KDE_on_Windows/Installation|Install KDE Software on Windows]]
    * Mac OS X does not currently have an installer available for KDE Software, but you can simplify building it by using [http://mac.kde.org/?id=build MacPorts or Fink]


    == Getting Help ==
    == 浏览代码 ==
    KDE 项目完全自由开源。您可以查看和修改源代码。


    If you are looking for help in using the KDE Workspace or KDE Applications then please visit the [http://userbase.kde.org/ KDE UserBase].  
    http://projects.kde.org hosts the source for many KDE-related initiatives, including [https://projects.kde.org/projects/kde KDE itself].  Choose a piece of KDE such as KDE Libraries, then click Repository to browse its source. [[Getting_Started/Sources]] explains the organization of KDE source code.


    If you have any questions or problems with building or developing KDE Software please feel free to [[Development/Getting_Help|ask for help]].  However, be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it ''all'' for you.  Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way.
    There are other utilities to browse the source code:


    == Building and Running KDE Software From Source ==
    * http://lxr.kde.org/search lets you search the code ''(may be out of date?)''
    * http://api.kde.org lets you browse API documentation generated from the code. You can search for class names, but not filenames.


    There are several possible ways to build and install KDE software and the method you choose depends on what you want to do with the software.  In particular if you are only wanting to build and develop a single application you may not need to build the entire KDE Development Platform to do so.  You can read more about this on the [[Getting_Started/Build/Methods|Build Methods page]].
    == 从源构建和运行 KDE 软件 ==
     
    There are several possible ways to build and install KDE software and the method you choose depends on what you want to do with the software.  In particular if you are only wanting to build and develop a single application you may not need to build the entire KDE Development Platform to do so.  You can read more about this on the [[Special:myLanguage/Getting_Started/Build/Methods|Build Methods page]].
     
    If you simply want to build one application, the simple tutorial [[Development/Tutorials/Building_An_Existing_Application|Building an Existing Application]] might be enough already.
     
    {{Note|'''Quickstart:''' If you are impatient to get started without understanding what you are doing then you can skip straight to using a [[Special:myLanguage/Getting_Started/Build#Scripted_Builds|Build Script]], but it is strongly recommended you read this documentation first.}}
     
    <!-- what about https://launchpad.net/project-neon that used to be linked here in 2010, does that still apply? - User:Skierpage -->


    The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source:
    The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source:


    * [[/Sources|How the KDE Source Code is structured]]
    * [[Special:myLanguage/Getting_Started/Sources|How the KDE Source Code is structured]]
    * [[/Build|How to Build and Install the software]]
    * [[Special:myLanguage/Getting_Started/Build|How to Build and Install the software]]
    * [[/Run|How to Run the software]]
    * [[Special:myLanguage/Getting_Started/Run/Nested_Session|How to Run a nested session of KDE]]
    * [[Special:myLanguage/Getting_Started/Run/Full_Session|How to Run a full session of KDE]]


    == Development Model ==
    ==开发模式==


    TODO: General introduction to the dev model, release cycles, etc.
    TODO: General introduction to the dev model, release cycles, etc.


    * [[Schedules/Release_Schedules_Guide|The KDE Release Schedule]]
    * [[Special:myLanguage/Schedules/Release_Schedules_Guide|The KDE Release Schedule]]
    * [[Development/Software_Engineering_Framework|The KDE Software Engineering Framwork]]
    * [[Special:myLanguage/Development/Software_Engineering_Framework|The KDE Software Engineering Framework]]
    * [[Policies|KDE Development Policies and Procedures to follow]]
    * [[Special:myLanguage/Policies|KDE Development Policies and Procedures to follow]]
    * [[Policies/Application_Lifecycle|The development lifecycle for a new application]]
    * [[Special:myLanguage/Policies/Application_Lifecycle|The development lifecycle for a new application]]


    == Development Tools ==
    == 开发工具 ==


    There are a number of [[Development/Tools|Development Tools]] that are either required or helpful when building KDE Software.  For these you will usually want to use the stable packages provided by your distribution.
    There are a number of [[Special:myLanguage/Development/Tools|Development Tools]] that are either required or helpful when building KDE Software.  For these you will usually want to use the stable packages provided by your distribution.


    You may want to use a graphical IDE for your development work:
    You may want to use a graphical IDE for your development work:
    * [[Special:myLanguage/Development/Tutorials/Using_Qt_Creator|Qt Creator]]
    * [http://www.kdevelop.org/ KDevelop 4]
    * [http://www.kdevelop.org/ KDevelop 4]
    * [[Development/Tools/Eclipse|Eclipse]]
    * [[Special:myLanguage/Development/Tools/Eclipse|Eclipse]]
    * [[/Using_an_IDE_with_KDE4|Using an IDE with KDE4]]
    * [[Special:myLanguage/Getting_Started/Using_an_IDE_with_KDE4|Using an IDE with KDE4]]


    == Contributing To KDE ==
    == Contributing To KDE ==
    Line 66: Line 76:


    [[Image:Action_tool.svg|right|32px]]
    [[Image:Action_tool.svg|right|32px]]
    * [[Contribute|Contribute]]
    * [[Special:myLanguage/Contribute|Contribute]]
    * [[Contribute/Send_Patches|Send Patches]]
    * [[Special:myLanguage/Contribute/Send_Patches|Send Patches]]
    * [[Contribute/Bugsquad|Bugsquad]]
    * [[Special:myLanguage/Contribute/Bugsquad|Bugsquad]]


    [[Category:Build_KDE]]
    [[Category:Build_KDE]]

    Revision as of 07:43, 5 November 2013

    Warning
    为反映新的KDE基础设施,目前这些网页正被完全重写,可能包含不一致的内容。一些网页上的信息和命令可能不再有效,请小心使用。


    简介

    加入 KDE 社区方式多种多样,最常见的方式是从单纯使用我们的软件开始到最终成为核心平台开发者。

    本部分内容属于 KDE TechBase,用于引导您加入 KDE 社区的技术部落。您将了解到 KDE 软件的结构及如何构建,以及如何构建您自己的 KDE 软件。

    使用 KDE 软件

    如果您仅仅是想使用稳定版的 KDE 软件用于日常计算需求的话,那么您就不需要自己构建 KDE 软件,只需要使用 Linux 发行商提供的安装包安装即可。

    学习如何使用 KDE 软件的最佳地点就是发行商的网站的技术支持频道。不过你也可以在下面这些链接的页面发现有用的信息:

    获取帮助

    如果您正在寻找 KDE Workspace 或 KDE 应用程序帮助信息的话,那么请访问 KDE UserBase.

    如果您在构建或开发 KDE 软件期间有任何的问题或困难,您可以求助。 However, be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it all for you. Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way.

    浏览代码

    KDE 项目完全自由开源。您可以查看和修改源代码。

    http://projects.kde.org hosts the source for many KDE-related initiatives, including KDE itself. Choose a piece of KDE such as KDE Libraries, then click Repository to browse its source. Getting_Started/Sources explains the organization of KDE source code.

    There are other utilities to browse the source code:

    从源构建和运行 KDE 软件

    There are several possible ways to build and install KDE software and the method you choose depends on what you want to do with the software. In particular if you are only wanting to build and develop a single application you may not need to build the entire KDE Development Platform to do so. You can read more about this on the Build Methods page.

    If you simply want to build one application, the simple tutorial Building an Existing Application might be enough already.

    Note
    Quickstart: If you are impatient to get started without understanding what you are doing then you can skip straight to using a Build Script, but it is strongly recommended you read this documentation first.


    The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source:

    开发模式

    TODO: General introduction to the dev model, release cycles, etc.

    开发工具

    There are a number of Development Tools that are either required or helpful when building KDE Software. For these you will usually want to use the stable packages provided by your distribution.

    You may want to use a graphical IDE for your development work:

    Contributing To KDE

    Once you have a copy of KDE built you can then start contributing back to KDE. The pages below will help you find out how you can help make KDE even better.