当前位置: 首页 > 工具软件 > QML for Go > 使用案例 >

Qt6 QML Book/入门/安装Qt6 SDK

艾令雪
2023-12-01

Installing Qt 6 SDK

安装Qt 6 SDK

The Qt SDK includes the tools you need to build desktop or embedded applications. You can grab the latest version from the Qt Company’s homepage. There is an offline and online installer. The author personally prefers the online installer package as it allows you to install and update multiple Qt releases. This is the recommended way to start. The SDK itself has a maintenance tool, which allows you to update the SDK to the latest version.

Qt SDK包括构建桌面或嵌入式应用程序所需的工具。可以从the Qt Company的主页上获取最新的版本。有一个离线和在线安装程序。作者个人更喜欢在线安装程序包,因为它允许您安装和更新多个Qt发行版。这是推荐的开始方式。SDK本身有一个维护工具,它允许您将SDK更新到最新版本。

The Qt SDK is easy to install and comes with its own IDE for rapid development called Qt Creator. The IDE is a highly productive environment for Qt coding and recommended to all readers. Many developers use Qt from the command line, however, and you are free to use the code editor of your choice.

Qt SDK很容易安装,并且有快速开发的IDE,叫Qt Creator。这个IDE提供高效的Qt编程环境,推荐读者使用。当然,许多开发者从命令行使用Qt,您可以自由地使用您选择的代码编辑器。

When installing the SDK, you should select the default option and ensure that at least Qt 6.2 is enabled. Then you’re ready to go.

在安装SDK时,应该选择默认选项,并确保至少启用了Qt 6.2。然后你就可以开始编程开发了。

Update Qt

更新Qt

The Qt SDK comes with an own maintenance tool located under the ${install_dir}. It allows to add and/or update Qt SDK components.

Qt SDK自带一个维护工具,位于${install_dir}目录下。它允许添加和/或更新Qt SDK组件。

Build from Source

从源代码构建

To build Qt from source you can follow the guide from the Qt Wiki.

要从源代码构建Qt,你可以参考Qt Wiki的文档。

 类似资料: