Qt简介
Qt 6能让您开发面向一众电子设备和软件平台的直觉应用,而且它们的速度将会是史无前例地快。
注释:Qt 6和Qt 5高度兼容。Qt 5 应用的开发者可无缝衔接 Qt 6;同时保留着该应用的所有功能。
设计使用者界面
Qt提供了两种方法来设计使用者界面:Qt Widgets和Qt Quick。
QtWidgets强调了电脑桌面的观感;而QtQuick的使用者界面则配备着动态的动画和对于可触控荧幕的优化。使用者界面这网址比较了Qt Quick和Qt Widgets两种技术。
跨平台
Qt跨平台。Qt模组可以在众多电子设备和软件平台上运行。像是Qt Creator和Qt Design Studio等开发者工具可在 Windows、macOS 和 Linux 上运行。qmake以及CMake可以依据不同软件平台的情况和差异,天衣无缝地运行着其构建过程。
特点和应用程序编程接口
Qt 的一大特点便是它装备着大量的模组;这些模组的功能涵盖使用者界面、网络访问传输、浏览器技术、互联网沟通协定、文档格式,等等等等。
要点定义了Qt在所有软件平台上的基础。它们在任何受支援以及受测试了的平台上都是可运行的。
附加模组带来了一系列的附加功能,以达到专门的目的。
工具
Qt Creator是一个功能完备的整合开发者环境。您可以创建一个专案、一段代码、用来除错、用来封装,还可以使用它进行软件部署。
Qt Design Studio支持Qt Quick使用者界面。它能让您一边使用着预设使用者界面元件,一边从头到脚地定义一个界面的观感。
除此之外,还有更多的。
编程语言
Qt应用通常用C++编写。面向Python的Qt能让您用Python编写Qt应用。
Qt Quick使用者界面通常用QML编写。
接下来该看什么
Introduction to Qt
Qt 6 lets you develop applications with intuitive user interfaces for multiple devices and platforms, faster than ever before.
Note: Qt 6 is highly compatible with Qt 5. Developers of Qt 5 applications can move seamlessly to Qt 6 while retaining the applications’ functionality.
Designing User Interfaces
Qt offers two solutions for UI design: Qt Widgets and Qt Quick. Qt Widgets tightly integrates with desktop look-and-feel. Qt Quick UIs are dynamic with fluid animations and are optimal for touch interfaces. The User Interfaces page compares both Qt Quick and Qt Widgets technologies.
Cross-Platform
Qt is cross-platform. Qt modules are available on various devices and platforms. Developer tools like Qt Creator and Qt Design Studio are available for Windows, macOS, and Linux. Build tools like qmake and CMake seamlessly handle the platform-specific differences in the build process.
Features and APIs
Qt features a large set of modules in the area of UIs, networking, web technologies, communication protocols, file formats, and much more.
Essentials define the foundation of Qt on all platforms. They are available on all the supported development platforms and tested target platforms.
Add-ons bring additional value for specific purposes.
Tools
Qt Creator is a complete IDE for developing Qt applications. You can set up projects, code, debug, package, and deploy from within Qt Creator.
Qt Design Studio supports designing Qt Quick UIs. It enables you to define the look-and-feel of the UI from wireframe to final implementation, using preset UI components.
Many more tools are available.
Programming Languages
Qt applications are usually written in C++. Qt for Python allows you to write applications in Python.
Qt Quick UIs are written in QML.