Qt Creator 20, an integrated development environment for creating cross-platform applications using the Qt library, has been released. It supports both classic C++ development and the use of QML, a language that uses JavaScript to define scripts and CSS-like blocks to define the structure and parameters of interface elements. Ready-to-use builds are available for Linux, Windows and maΡOS.
In the new version:
- The package includes an add-on with an AI agent that understands the codebase and can answer questions about the code via chat and perform tasks such as code analysis, file editing, running commands, and initiating builds. The agent uses the Agent Client Protocol (ACP) and can use various AI providers, as well as integrate with AI assistants such as Claude Code, Codex, Gemini CLI, and GitHub Copilot. Additionally, an add-on with an MCP (Model Context Protocol) server provides AI assistants with information about the current state of Qt Creator and enables various actions within the development environment.
- Added "Zen Mode" add-on (Tools > Zen Mode), which hides interface elements to focus on editing code.
- The C++ code model has been updated. The Clangd/LLVM toolchain has been updated to version 22.1 and built with profile-guided optimizations (PGO).
- Added the ability to collapse preprocessor blocks (#if, #ifdef, #ifndef), #pragma areas, and C++-style multi-line comments.
- By default, QML semantic highlighting and refactoring capabilities provided by the Qmlls (QML Language Server) LSP are enabled.
- Added GN add-on for opening and working with GN projects (Generate Ninja).
- Expanded capabilities for working with CMake-based projects. New "qt" and "compiler" presets have been added.
- From the editor Android- Manifests have separate interfaces for editing icons, splash screens, and access rights.
- Automatic connection to is provided Linux-devices when initiating deployment, launch, or build of an application on that device. Access to local directories containing code for external devices has been implemented. Linux- devices on which the assembly is carried out.
- Version control operations have been added to the interface displaying the list of open files. Version control status is now reflected in the file properties dialog. The Git commit editor now displays warnings about actions that could lead to data loss. Initiating destructive operations in the rebase dialog has been made more difficult.
- Added a separate launch configuration type for connecting the debugger to server debugging an application running on an external device.
Source: opennet.ru
