所有概述

概述

Qt 介绍

编程语言

可以使用下列语言之一 (或组合) 开发 Qt 应用程序:

Qt 语言

  • C++
  • QML
  • Python
  • JavaScript

QML 和 C++

平台

Develop Qt applications on macOS, Linux, and Windows desktop platforms. Qt is platform-independent, which means you can compile same code base for other target platforms.

基本

Learn the Qt basics that define the foundation of Qt.

UI

Use the Qt Quick and Qt Widget UI technology. Qt Quick interfaces are fluid, dynamic, and are best on touch interfaces. Qt Widgets are for creating complex desktop applications. You can create Qt Quick and Qt Widgets interfaces with the target platform's native look and feel.

图形和多媒体

Display graphical elements and handle multimedia content. Qt abstracts the target platforms' underlying graphics APIs so that you can focus on writing the application code. Play back audio and video files and render them on screen, as well as record audio and video from the system's cameras and microphones.

数据处理和 I/O

Retrieve and store data in different formats.

网络和连接

Develop applications that communicate with Web services and exchange data (JSON or CBOR) with applications on other devices.

In addition, Qt applications can use remote objects or gRPC and protobuf to communicate with service endpoints.

Web 技术

Embed content from the World Wide Web into your Qt applications on platforms that do not have a native web engine.

Alternatively, you can create a web channel for peer-to-peer communication between a server and a client.

工具

Qt installations contain Qt libraries, examples, documentation, and the necessary development tools, such as the Qt Creator integrated development environment (IDE) and Qt Design Studio for developing Qt Quick Applications.

可访问性

Write accessible software by letting users scale the UI, change font size and color contrast, use the keyboard for navigation, have UI text read aloud with a synthesized voice, and change the UI language.

位置

最佳实践

这些页面就如何使用 Qt 技术尽最大努力创建在可用性和软件设计方面优秀的应用程序,给出指导。

最佳 QML 和 Qt Quick 实践

操控 QML 和 Qt Quick 的最佳实践列表

从 Unix 信号处理程序调用 Qt 函数

您不能。但不要绝望,还有办法...

坐标系

由描绘系统所使用的坐标系的有关信息

创建共享库

如何创建共享库。

创建和使用用于 Qt Widgets Designer 的组件

如何创建和使用自定义 Widget 插件

桌面集成

集成用户桌面环境。

异常安全性

Qt 中的异常安全指南。

如何创建 Qt 插件

创建插件以扩展 Qt 的应用程序和功能的指南。

Qt Test 教程

采用 Qt Test 进行测试的简短介绍

还原窗口几何体

如何保存和还原窗口几何体。

会话管理

如何采用 Qt 进行会话管理。

设置应用程序图标

如何设置应用程序的图标。