All Modules
Qt Essentials
Qt要点定义了所有平台上Qt的基础。 它们在所有受支持的开发平台和经过测试的目标平台上均可用。 它们将在Qt 5期间保持源和二进制兼容。
基本模块是通用的,对大多数Qt应用程序很有用。 A module that is used for a special purpose is considered an add-on module even if it is available on all supported platforms.
The following table lists the Qt essentials:
Module | Description |
---|---|
Qt Core | 其他模块使用的核心非图形类。 |
Qt GUI | Base classes for graphical user interface (GUI) components. Includes OpenGL. |
Qt Multimedia | Classes for audio, video, radio and camera functionality. |
Qt Multimedia Widgets | Widget-based classes for implementing multimedia functionality. |
Qt Network | 这些类使网络编程更轻松,更可移植。 |
Qt QML | QML和JavaScript语言的类。 |
Qt Quick | A declarative framework for building highly dynamic applications with custom user interfaces. |
Qt Quick Controls | Reusable Qt Quick based UI controls to create classic desktop-style user interfaces. |
Qt Quick Dialogs | Types for creating and interacting with system dialogs from a Qt Quick application. |
Qt Quick Layouts | Layouts are items that are used to arrange Qt Quick 2 based items in the user interface. |
Qt SQL | Classes for database integration using SQL. |
Qt Test | Classes for unit testing Qt applications and libraries. |
Qt Widgets | 使用C++小部件扩展Qt GUI的类。 |
如果使用qmake生成项目,则默认包含Qt Core和Qt GUI模块。 要仅针对Qt Core进行链接,请将以下行添加到您的.pro
文件中:
QT -= gui
在Windows上,如果不使用qmake或其他构建工具(例如CMake),则还需要链接到qtmain
库。
Qt Add-Ons
Qt Add-On modules bring additional value for specific purposes. These modules may only be available on some development platform. Many add-on modules are either feature-complete and exist for backwards compatibility, or are only applicable to certain platforms. Each add-on module specifies its compatibility promise separately.
The Qt installers include the option of downloading the add-ons. For more information, visit the Getting Started with Qt page.
The following table lists the Qt add-ons:
Module | 开发平台 | 目标平台 | Description |
---|---|---|---|
Active Qt | Windows | 使用ActiveX和COM的应用程序的类 | |
Qt 3D | All | 支持2D和3D渲染的近实时仿真系统的功能。 | |
Enginio (Deprecated) | All | All | A Backend-as-a-Service solution to ease the backend development for connected and data-driven applications. |
Qt Android Extras | All | Android | 提供适用于Android的平台特定的API。 |
Qt Bluetooth | All | Android, iOS, Linux and macOS | 提供对蓝牙硬件的访问。 |
Qt Canvas 3D | All | Enables OpenGL-like 3D drawing calls from Qt Quick applications using JavaScript. | |
Qt Concurrent | Classes for writing multi-threaded programs without using low-level threading primitives. | ||
Qt D-Bus | All | Classes for inter-process communication over the D-Bus protocol. | |
Qt Gamepad | All | Android, iOS, macOS, tvOS (including the tvOS remote), Linux, Windows | Enables Qt applications to support the use of gamepad hardware. |
Qt Graphical Effects | All | Graphical effects for use with Qt Quick 2. | |
Qt Image Formats | All | Plugins for additional image formats: TIFF, MNG, TGA, WBMP. | |
Qt Location | All | All | 在QML应用程序中显示地图,导航和放置内容。 |
Qt Mac Extras | All | macOS | Provides platform-specific APIs for macOS. |
Qt NFC | All | Android and Linux | Provides access to Near-Field communication (NFC) hardware. |
Qt OpenGL (Deprecated) | OpenGL support classes. Deprecated in favor of the QOpenGL* classes in the Qt GUI module. | ||
Qt Platform Headers | Provides classes that encapsulate platform-specific information, tied to a given runtime configuration of a platform plugin. | ||
Qt Positioning | All | Android, iOS, macOS, Linux, WinRT. | Provides access to position, satellite and area monitoring classes. |
Qt Print Support | All | Classes to make printing easier and more portable. | |
Qt Purchasing | All | Android, iOS, and macOS. | Enables in-app purchase of products in Qt applications. |
Qt Quick Controls 2 | All | Provides lightweight QML types for creating performant user interfaces for embedded and mobile devices. These controls achieve improved efficiency by employing a simplified styling architecture when compared to Qt Quick Controls. These types work in conjunction with Qt Quick and Qt Quick Layouts. | |
Qt Quick Extras | All | Provides a specialized set of controls that can be used to build interfaces in Qt Quick. | |
Qt Quick Widgets | All | Provides a C++ widget class for displaying a Qt Quick user interface. | |
Qt Script (Deprecated) | All | Classes for making Qt applications scriptable. Deprecated in favor of the QJS* classes in the Qt QML module. | |
Qt SCXML | All | All | Provides classes and tools for creating state machines from SCXML files and embedding them in applications. |
Qt Script Tools (Deprecated) | All | Additional components for applications that use Qt Script. | |
Qt Sensors | All | Android, Qt for iOS, WinRT and Mer. | Provides access to sensor hardware and motion gesture recognition. |
Qt Serial Bus | Linux | Linux and Boot to Qt targets. | Provides access to serial industrial bus interface. Currently the module supports the CAN bus and Modbus protocols. |
Qt Serial Port | All | Windows, Linux, and macOS. | Provides access to hardware and virtual serial ports. |
Qt SVG | All | Classes for displaying the contents of SVG files. Supports a subset of the SVG 1.2 Tiny standard. | |
Qt WebChannel | All | All | Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients. |
Qt WebEngine | All | Windows, Linux, and macOS. | 使用Chromium浏览器项目将Web内容嵌入应用程序中的类和函数。 |
Qt WebSockets | All | All | Provides WebSocket communication compliant with RFC 6455. |
Qt WebView | All | Platforms with a native web engine. | 通过使用平台固有的API在QML应用程序中显示Web内容,而无需包含完整的Web浏览器堆栈。 |
Qt Windows Extras | All | Windows | 为Windows提供平台特定的API。 |
Qt X11 Extras | All | Linux/X11 | Provides platform-specific APIs for X11. |
Qt XML | C++ implementations of SAX and DOM. Note: This module is not required to use QXmlStreamReader and QXmlStreamWriter. They are already part of Qt Core. | ||
Qt XML Patterns | Support for XPath, XQuery, XSLT and XML schema validation. | ||
Qt Wayland Compositor | Linux | Linux and Boot to Qt targets. | Provides a framework to develop a Wayland compositor. |
Add-ons available under Commercial Licenses, or GNU General Public License v3 | |||
Qt Charts | All | UI组件,用于显示视觉上令人愉悦的图表,该图表由静态或动态数据模型驱动。 | |
Qt Data Visualization | All | All | UI Components for creating stunning 3D data visualizations. |
Qt Virtual Keyboard | All | Linux and Windows desktop, and Boot to Qt targets. | A framework for implementing different input methods as well as a QML virtual keyboard. Supports localized keyboard layouts and custom visual themes. |
Value-Add Modules
In addition to the modules released as part of Qt 5, the following modules and tooling build on top of the Qt libraries to provide additional value. They have their own release schedule, and are available under the commercial license.
Feature | Description |
---|---|
Qt for Device Creation | Tools for fast, easy, and fully-integrated embedded device application development. Includes most other Value-Add features. |
Qt Quick Compiler | Enables compiling .qml source files into application binaries, improving load times and security for code assets. |
Technology Preview Modules
The following modules are still in development but are available as technology previews.
Module | Description |
---|---|
Qt Network Authorization | Provides support for OAuth-based authorization to online services. |
Qt Speech | Provides support for accessibility features such as text-to-speech. |
Qt Remote Objects | Provides an easy to use mechanism for sharing a QObject's API (Properties/Signals/Slots) between processes or devices. |
Qt Tools
Qt Tools run on all the supported development platforms and facilitate the development and design of applications.
The following table lists the Qt tools:
Tool | Description |
---|---|
Qt Designer | Classes for extending Qt Designer. |
Qt Help | Classes for integrating online documentation into applications, similar to Qt Assistant. |
Qt UI Tools | Classes to handle the forms created in Qt Designer. |
Where to Go from Here
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 our API.
- Qt Overviews - list of topics about application development
- Examples and Tutorials - code samples and tutorials
- Qt Reference Pages - a listing of C++ and QML APIs