aboutsummaryrefslogtreecommitdiffstats

Qt Creator 11

Qt Creator version 11 contains bug fixes and new features.

The most important changes are listed in this document. For a complete list of changes, see the Git log for the Qt Creator sources that you can check out from the public Git repository. For example:

git clone git://code.qt.io/qt-creator/qt-creator.git
git log --cherry-pick --pretty=oneline origin/10.0..v11.0.0

What's new?

  • Markdown editor with preview (QTCREATORBUG-27883)
  • Internal terminal (QTCREATORBUG-8511)
  • Experimental support for GitHub Copilot
  • Experimental support for the vcpkg C/C++ package manager
  • Experimental support for the Axivion static analyzer

Markdown

You can open markdown (.md) files for editing or select File > New File > General > Markdown File to create a new file.

(Documentation)

Terminal

When you select the Run in Terminal check box and run an application or the Open Terminal button to open a terminal, the default terminal opens in the Terminal output view. It supports multiple tabs, as well as various shells, colors, and fonts.

To use an external terminal, deselect the Use internal terminal check box in Preferences > Terminal.

(Documentation)

Copilot

The Copilot plugin (disabled by default) integrates GitHub Copilot, which uses OpenAI to suggest code in the Edit mode.

To set Copilot preferences, select Preferences > Copilot.

(Documentation)

vcpkg

The experimental vcpkg plugin integrates the vcpgk package manager for downloading and managing libraries.

Select the vcpkg installation location in Preferences > CMake > Vcpkg > Path.

To create a new vcpkg.json package manifest file, select File > New File > vcpkg. The file is automatically added to the CMakeLists.txt file for the project.

Edit manifest files in the manifest editor. To search for packages to add to the file, select the Search Package button on the manifest editor toolbar.

(Documentation)

Axivion

After you configure access to the Axivion Dashboard and link a project to an Axivion project in the project settings, Qt Creator shows annotations of the latest run in the editors and allows you to view some details on the issues.

(Documentation)

General

  • Added a more spacious Relaxed toolbar style to Preferences > Environment > Interface
  • Added a pin button to progress details instead of automatically resetting their position (QTCREATORBUG-28829)
  • Improved the selection and navigation in the Issues view (QTCREATORBUG-26128, QTCREATORBUG-27006, QTCREATORBUG-27506)
  • Fixed a crash with a large number of search hits from Silver Searcher (QTCREATORBUG-29130)
  • Locator
    • Improved performance
    • Added the creation of directories to the Files in File System filter
    • Added device roots and browsing remote file systems to the Files in File System filter

Editing

C++

  • Improved the style of forward declarations in the outline (QTCREATORBUG-312)
  • Added highlighting for typed string literals and user-defined literals (QTCREATORBUG-28869)
  • Extended the Add Class Member refactoring action to create class members from assignments (QTCREATORBUG-1918)
  • Fixed that generated functions did not have a const qualifier when required (QTCREATORBUG-29274)
  • Fixed that the locator showed both the declaration and the definition of symbols (QTCREATORBUG-13894)
  • Fixed the handling of C++20 keywords and concepts
  • Fixed that the automatic Doxygen comment generation did not work when initializer lists {} were present (QTCREATORBUG-29198)
  • Fixed an issue when matching braces (QTCREATORBUG-29339)
  • Clangd
  • Built-in
  • Clang Format

Language Server Protocol

QML

Python

  • Added the Create Virtual Environment option to the Python interpreter selector on the editor toolbar and to the wizards in `File > New Project >

    Application (Qt for Python)` (PYSIDE-2152)

  • Fixed that too many progress indicators could be created (QTCREATORBUG-29224)

(Documentation)

Meson

Projects

CMake

Qmake

Python

  • Added an option for selecting the interpreter to the wizards in File > New Project > Application (Qt for Python) (Documentation)

Debugging

C++

  • Added the Default array size option for setting the default number of array elements to show in Preferences > Debugger > Locals & Expressions
  • Fixed debugging in a terminal as the root user (QTCREATORBUG-27519)
  • CDB
    • Added automatic source file mapping for Qt packages
    • Fixed the variables view on remote Windows devices (QTCREATORBUG-29000)
  • LLDB
    • Fixed that long lines in the application output were broken into multiple lines (QTCREATORBUG-29098)

Qt Quick

  • Improved the auto-detection of whether QML debugging is required (QTCREATORBUG-28627)
  • Added the Use customized static analyzer option for disabling static analyzer messages to Preferences > Qt Quick > QML/JS Editing (QTCREATORBUG-29095) (Documentation)

Analyzer

Clang

  • Fixed that a .clang-tidy file in the project directory was not used by default (QTCREATORBUG-28852)

Version Control Systems

Git

  • Instant Blame
    • Improved the performance (QTCREATORBUG-29151)
    • Fixed that it did not show at the end of the document

Platforms

Android

iOS

Remote Linux

  • Removed the automatic sourcing of target-side shell profiles

Docker

MCU

QNX

  • Added slog2info as a requirement for devices
  • Fixed the support for remote working directories (QTCREATORBUG-28900)

Credits for these changes go to:

Aleksei German
Alessandro Portale
Alexander Drozdov
Alexander Pershin
Alexey Edelev
Alexis Jeandet
Ali Kianian
Alibek Omarov
Amr Essam
Andre Hartmann
André Pönitz
Artem Mukhin
Artem Sokolovskii
Assam Boudjelthia
Björn Schäpers
Brook Cronin
Burak Hancerli
Christian Kandeler
Christian Stenger
Cristian Adam
David Schulz
Eike Ziller
Esa Törmänen
Fabian Kosmale
Filippo Gentile
Friedemann Kleint
Haowei Hsu
Henning Gruendl
Jaroslaw Kobus
Joni Poikelin
Jussi Witick
Kai Köhne
Knud Dollereder
Knut Petter Svendsen
Leena Miettinen
Mahmoud Badri
Marco Bubke
Marcus Tillmanns
Martin Delille
Mats Honkamaa
Miikka Heikkinen
Mitch Curtis
Niels Weber
Olivier Delaune
Orgad Shaneh
Pranta Dastider
Robert Löhning
Samuel Ghinet
Semih Yavuz
Tasuku Suzuki
Thiago Macieira
Thomas Hartmann
Tim Jenssen
Ulf Hermann
Vikas Pachdha
Wladimir Leuschner
Yasser Grimes
Yixue Wang