Qt is designed for developing applications and user interfaces once and deploying them across several desktop and mobile operating systems.
The easiest way to start application development with Qt is to download and install Qt 5. It contains Qt libraries, examples, documentation, and the necessary development tools, such as the Qt Creator IDE (集成开发环境)。
Qt Creator provides you with tools for accomplishing your tasks throughout the whole application development life-cycle, from creating a project to deploying the application on the target platforms. Qt Creator automates some tasks, such as creating projects, by providing wizards that guide you step-by-step through the project creation process, create the necessary files, and specify settings depending on the choices you make. Also, it speeds up some tasks, such as writing code, by offering semantic highlighting, checking code syntax, code completion, refactoring actions, and other useful features.
下列 Qt 工具已集成到 Qt Creator 中:
In addition, you can use the tools listed in the following table.
工具 | 描述 |
---|---|
makeqpf | Create pre-rendered fonts for embedded devices. |
Meta-Object Compiler (moc) | Generate meta-object information for QObject subclasses. |
User Interface Compiler (uic) | Generate C++ code from user interface files. |
rcc (资源编译器) | Embed resources into Qt applications during the build process. |
Qt D-Bus XML 编译器 (qdbusxml2cpp) | A tool to convert D-Bus interface descriptions to C++ source code. |
D-Bus Viewer | A tool to introspect D-Bus objects and messages. Available from the Qt SDK or the Qt 5 qttools repository. |
Qt Quick Compiler | A compiler for QML that enables building Qt Quick applications without having to deploy the QML sources on to the target. |
Qt VS Tools | Intended for developers who wish to develop Qt applications using the Visual Studio IDE instead of Qt Creator. |
Qt Distance Field Generator | A tool that generates distance fields to improve load times for a text-heavy Qt Quick user interface. |