Qt essentials define the foundation of Qt on allplatforms. They are available on all supported development platforms and on thetested target platforms. They will remain source and binary compatible duringQt 5.
Qt基本模块定义了所有平台上的QT的基础。这些基本模块对所有支持的开发平台和对测试目标平台都是可用的。他们在整个QT5版本期间将保持源代码和二级制兼容。
Essential modules are general and useful for a majorityof Qt applications. A module that is used for a special purpose is consideredan add-on module even if it is available on all supported platforms.
基本模块对大部分Qt应用是通用的。一个用于特定目的的模块将被视之为扩展模块,及时它可用于所有支持的平台。
The following table lists the Qt essentials:
下表列出了Qt基本模块
Module | Description |
Core non-graphical classes used by other modules.被其它模块使用的核心非图形类 | |
Base classes for graphical user interface (GUI) components. Includes OpenGL.用于GUI组件的基本类,包括OpenGL | |
Classes for audio, video, radio and camera functionality.用于音频、视频、无线电和摄像头功能的类 | |
Widget-based classes for implementing multimedia functionality.用于实现多媒体功能的基于widget类;widget,部件,小装置,小工具 | |
Classes to make network programming easier and more portable.使得网络编程更加容易和更加可移植的类 | |
Classes for QML and JavaScript languages.用于QML和JavaScript语言的类 | |
A declarative framework for building highly dynamic applications with custom user interfaces.用于构建带定制用户接口的高度动态应用程序的声明式框架 | |
Reusable Qt Quick based UI controls to create classic desktop-style user interfaces. 用于创建经典桌面风格用户接口的基于UI控件可重用Qt Quick | |
Types for creating and interacting with system dialogs from a Qt Quick application. 用于来自Qt Quick应用系统对话框的创建和交互的类型 | |
Layouts are items that are used to arrange Qt Quick 2 based items in the user interface. 布局是道具组件,用于在用户接口中的排列基于组件的Qt Quick2。 | |
Classes for database integration using SQL.用于使用SQL的数据库整合集成的类 | |
Classes for unit testing Qt applications and libraries.用于单元测试Qt应用程序和库的类 | |
Classes to extend Qt GUI with C++ widgets. 扩展带C++组件的Qt GUI的类 |
If you use qmake to build your projects, the Qt Coreand Qt GUImodules are included by default. To link only against Qt Core, add thefollowing line to your .pro file:
如果你使用qmake来构建你的项目,Qt Core 和 Qt GUI模块默认被包含。仅链接与Qt Core,添加如下一行到你的.pro文件中:
QT -= gui
On Windows, if you do not use qmake or other build tools such as CMake, you also need to link against the qtmain library.
在Winows平台。如果你不用qmake或者别的诸如Cmake构建工具,你也需要与qtmain库链接。
Qt Add-On modulesbring additional value for specific purposes. Thesemodules may only be available on some development platform. Many add-on modulesare either feature-complete and exist for backwards compatibility, or are onlyapplicable to certain platforms. Each add-on module specifies its compatibilitypromise separately.
Qt扩展为特定目标带来了额外功能。这些模块可能仅在一些开发平台上可用。许多扩展模块或者特性齐备,且为向后兼容存在,或者经对特定平台可用。每个扩展模块分别独立规定了其兼容性保证。
The Qt installers include the option of downloading theadd-ons. For more information, visit the Getting Started with Qt page.
Qt安装器包括了下载扩展模块的选项。
The following table lists the Qt add-ons:
下表列出了Qt扩展模块
Module | Development Platforms | Target Platforms | Description |
Classes for applications which use ActiveX and COM 用于使用ActiveX和COM的应用程序的类 | |||
All | Functionality for near-realtime simulation systems with support for 2D and 3D rendering. 用于带队2d和3d渲染支持的准实时仿真系统的功能 | ||
Enginio (Deprecated,弃用的,过时的) | All | All | A Backend-as-a-Service solution to ease the backend development for connected and data-driven applications.一个后端服务解决方案,为了使被连接和数据驱动程序的后端开发更加简易。 |
All | Provides platform-specific APIs for Android.提供用于Android的特定平台APIs。 | ||
All | Provides access to Bluetooth hardware. 提供了对蓝牙硬件的访问 | ||
|
|
|
|
Qt画布3D | Enables OpenGL-like 3D drawing calls from Qt Quick applications using JavaScript.使能类OpenGL 3D绘画,使用JavaScript来从Qt Quick应用程序中调用 | ||
Classes for writing multi-threaded programs without using low-level threading primitives. 用于编写不带使用了低级线程原语的多线程编程的类 | |||
All | Classes for inter-process communication over the D-Bus protocol. 用于D-Bus协议之上的进程间通信的类 | ||
All | Graphical effects for use with Qt Quick 2.用于利用Qt Quick2的图形特效 | ||
All | Plugins for additional image formats: TIFF, MNG, TGA, WBMP. 用于额外的图像格式:TIFF,MNG,TGA,WBMP的插件 | ||
All | All | Displays map, navigation, and place content in a QML application.在QML应用软件中显示地图、导航和位置内容 | |
All | Provides platform-specific APIs for macOS.为macOS提供了专用APIs | ||
All | Provides access to Near-Field communication (NFC) hardware.提供了对近场通讯(NFC)硬件的访问 | ||
Qt OpenGL (Deprecated弃用了,过时的) | OpenGL support classes. Deprecated in favor of the QOpenGL* classes in the Qt GUI module. OpenGL支持类。弃用了,取而代之的式在Qt GUI模块中QOpenGL*类 | ||
Provides classes that encapsulate platform-specific information, tied to a given runtime configuration of a platform plugin. 提供封装了特定平台信息的类,关联了一个平台插件的指定的运行时配置。 | |||
All | Provides access to position, satellite and area monitoring classes.提供了对位置、卫星和区域监控类的访问 | ||
All | Classes to make printing easier and more portable.使得打印更加容易和更多可移植性的类 | ||
Enables in-app purchase of products in Qt applications. 使能在Qt应用程序中的内置的产品购买 | |||
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. 为对嵌入式和移动设备创建高性能用户接口提供轻量级QML类型,相对于Qt Quick Controls,这些控件通过利用简化的设计架构取得了高效的改进。这些组件与Qt Quick 和 Qt Quick Layouts同时(结合)使用 | ||
All | Provides a specialized set of controls that can be used to build interfaces in Qt Quick.提供了能用于在Qt Quick中构建接口的特定控件集合。 | ||
All | Provides a C++ widget class for displaying a Qt Quick user interface.提供了用于显示一个Qt Quick用户接口的C++窗口部件类 | ||
Qt Script (Deprecated,过时的,遗弃的,不赞同的) | All | Classes for making Qt applications scriptable. Deprecated in favor of the QJS* classes in the Qt QML module.用于创建Qt应用程序脚本化的类,遗弃的,取而代之的式Qt QML模块中的QJS*类 | |
All | All | Provides classes and tools for creating state machines from SCXML files and embedding them in applications. 对从SCXML文件中创建状态机,以及在应用程序中嵌入它们,提供了类和工具 | |
Qt Script Tools (Deprecated) | All | Additional components for applications that use Qt Script.用于使用Qt Script的应用程序的额外的部件 | |
All | Android, Qt for iOS, WinRT and Mer. | Provides access to sensor hardware and motion gesture recognition.提供对传感器意见和运动手势识别的访问 | |
Linux and Boot to Qt targets. | Provides access to serial industrial bus interface. Currently the module supports the CAN bus and Modbus protocols.提供对串行工业总线接口的访问,当前该模块支持CAN总线和Modbus协议 | ||
All | Provides access to hardware and virtual serial ports.提供了对硬件和虚拟串口的访问 | ||
All | Classes for displaying the contents of SVG files. Supports a subset of the SVG 1.2 Tiny standard. 用于显示SVG文件内容的类,支持SVG 1.2 Tiny标准的一个子集 SVG 意为可缩放矢量图形(Scalable Vector Graphics)。 SVG 使用 XML 格式定义图像 | ||
All | All | Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients. 为带HTML/JavaScript客户端的Qt应用程序的无缝集成,提供了来自HTML客户端的QObject或QML对象的访问 | |
All | Classes and functions for embedding web content in applications using the Chromium browser project. 用于使用了Chromium browser project的应用程序中的嵌入式web内容的类和函数 | ||
All | All | Provides WebSocket communication compliant with RFC 6455.提供符合(遵从)RFC 6455的WebSocket通讯 | |
All | Platforms with a native web engine. | Displays web content in a QML application by using APIs native to the platform, without the need to include a full web browser stack. 通过使用源自平台的APIs,在QML应用程序中显示web内容,而无须包括一个完全的web浏览器堆栈, | |
All | Provides platform-specific APIs for Windows.为windows提供特定平台APIs | ||
All | Provides platform-specific APIs for X11.为X11提供特定平台 | ||
C++ implementations of SAX and DOM. Note: This module is not required to use QXmlStreamReader and QXmlStreamWriter. They are already part of Qt Core. SAX和DOM的C++实现。注:该模块不要去使用QXmlStreamReader 和 QXmlStreamWriter,它们已经是Qt Core的一部分 | |||
Support for XPath, XQuery, XSLT and XML schema validation.用于XPath, XQuery, XSLT and XML方法模式的验证之支持 | |||
Qt Wayland Compositor | Linux and Boot to Qt targets. | Provides a framework to develop a Wayland compositor(见“揭开Wayland的面纱”一文).提供了开发Wayland合成器提供了一个框架;Wayland相当于一个X windows的替代计划 | |
Add-ons available under Commercial Licenses, or GNU General Public License v3在商业授权或者在GNU GPL3下,可用的扩展模块, | |||
All | UI Components for displaying visually pleasing charts, driven by static or dynamic data models. 用于显示被静态或者动态数据模型驱动的可视美图的UI组件 | ||
All | All | UI Components for creating stunning 3D data visualizations.用于创建极美3D数据可视化的UI组件 | |
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. 用于实现与QML虚拟键盘一样的不同输入方法的框架,支持本地化键盘布局和定制可视化主题。 |
In addition to the modules released as part of Qt 5, thefollowing modules and tooling build on top of the Qt libraries to provideadditional value. They have their own release schedule, and are available underthe commercial license.
除了作为Qt 5一部分发布的模块外,下面构建于Qt库之上的模块和工具提供了额外的价值。它们尤其自身之发布计划,在商业授权下可用。
Feature | Description |
Tools for fast, easy, and fully-integrated embedded device application development. Includes most other Value-Add features. 用于快速、容易且完全集成的嵌入式设备应用程序开发的工具,包括大多数例外的附加值特性 | |
Enables compiling .qml source files into application binaries, improving load times and security for code assets. 激活使能编译.qml源文件为应用程序的二进制文件,为代码资产改善了装载时间和安全性 |
Technology Preview Modules技术预览模块
The following modules are still in development but areavailable as technology previews.
下面模块任在开发之中,但是可作为技术预览使用
Module | Description |
Enables Qt applications to support the use of gamepad hardware. | |
Provides support for OAuth-based authorization to online services. | |
Provides support for accessibility features such as text-to-speech. |
Qt Tools run on allthe supported development platforms and facilitate the development and designof applications.
The following table lists the Qt tools:
Tool | Description |
Classes for extending Qt Designer.用于扩展Qt设计师的类 | |
Classes for integrating online documentation into applications, similar to Qt Assistant. 用于整合在线文档到应用程序中的类,类似于Qt助手 | |
Classes to handle the forms created in Qt Designer. 在Qt设计师中处理表格创建的类 |
We invite you to explore the rest of Qt. We preparedoverviews which help you decide which APIs to use and our examples demonstratehow to use our API.
· QtOverviews - list of topics about application development
· Examplesand Tutorials - code samplesand tutorials
· Qt Reference Pages - a listing of C++ and QML APIs