Qt入门(一)系列:Qt起步-Getting Started with Qt
Qt入门(一)系列:Qt起步-Getting Started with Qt
北冥先生 发表于10个月前
Qt入门(一)系列:Qt起步-Getting Started with Qt
  • 发表于 10个月前
  • 阅读 10
  • 收藏 0
  • 点赞 0
  • 评论 1


摘要: Qt起步

Getting Started with Qt


Install Qt

You can install the Qt Framework and tools by using an online or offline installer or by building the source packages yourself.

In the online installer, you can select commercial or open source versions of Qt, tools, and Add-On components(扩展部件,扩展组件) to install. Using the online installer requires signing in(注册,签到,登记) to your Qt Account. The installer retrieves(取回,检索,重新登记) the license attached to the account from a server and provides a list of available components corresponding to the license.

An offline installer is a single package that contains all of Qt and Add-Ons relevant for a target platform. Users with a commercial license can either sign in with their Qt account or with their Qt license key during the installation process. The license key is available in the Qt Account Web portal.

You can download Qt 5 installers from the Downloads page.

You can use the Qt installers to download and install the following components:

  • Qt libraries, prebuilt for a particular development platform (operating system and compiler) Qt库,为特定开发平台预编译(操作系统和编译器)
  • Qt Creator integrated development environment (IDE)
  • Reference Documentation and examples
  • Qt in source code form (needed only if you want to build the framework and tools yourself)
  • Add-On components that are relevant for different platforms

After downloading, start the installer like any executable on the development platform.

To run the installer, you need a Qt Account. You can use your Qt Account credentials([krə'dɛnʃlz]

认证信息、证明文件) to sign-in to all Qt services, including the forums and wiki. If you do not already have a Qt Account, you can create one during the installation process.

To complete the installation, select the components that you want to install and follow the instructions of the installation program.

Use the Maintenance Tool under <install_dir> to add components and to update or remove installed components.


Platform Requirements

Developing applications on different platforms are covered in the platform pages.

For more information, visit the supported platforms page.


Create Your First Applications

Learn the basics of Qt and Qt Quick development by following two tutorials [tjuː'tɔːrɪəl]

that illustrate how to create simple applications and build and run them on target platforms:

For a more thorough (adj. 彻底的;十分的;周密的)walkthrough(预排,预排工作,演练) of the different aspects of developing applications with Qt 5, see the QML Book. It focuses on Qt Quick, but also provides the information needed to use QML together with C++.


Explore Qt

We invite you to explore the rest of Qt. We prepared overviews which help you decide which APIs to use and our examples demonstrate how to use them.

To view a list of all Qt examples, visit the List of Qt Examples page.


Setting Up Projects


Developing with Qt Creator


Reference Documentation


Qt Project Community

Qt's vibrant (adj. 振动的;充满生气的;响亮的;战栗的)and active community site, http://qt.io houses a wiki, a forum, and additional learning guides and presentations.

标签: Qt 起步
  • 打赏
  • 点赞
  • 收藏
  • 分享
共有 人打赏支持
粉丝 1
博文 3
码字总数 3382
评论 (1)
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
* 支付类型