2023-05-12 08:44:30 +02:00
|
|
|
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
|
|
|
|
|
|
2023-06-08 15:53:58 +02:00
|
|
|
What's new?
|
|
|
|
|
------------
|
|
|
|
|
|
2023-06-09 13:51:36 +02:00
|
|
|
* Markdown editor with preview
|
|
|
|
|
([QTCREATORBUG-27883](https://bugreports.qt.io/browse/QTCREATORBUG-27883))
|
|
|
|
|
* Internal terminal
|
|
|
|
|
([QTCREATORBUG-8511](https://bugreports.qt.io/browse/QTCREATORBUG-8511))
|
2023-06-08 15:53:58 +02:00
|
|
|
* 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](https://doc-snapshots.qt.io/qtcreator-11.0/creator-markdown-editor.html))
|
|
|
|
|
|
|
|
|
|
### 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](https://doc-snapshots.qt.io/qtcreator-11.0/creator-output-panes.html#terminal))
|
|
|
|
|
|
|
|
|
|
### Copilot
|
|
|
|
|
|
2023-06-20 14:19:37 +02:00
|
|
|
The Copilot plugin (disabled by default) integrates
|
2023-06-08 15:53:58 +02:00
|
|
|
[GitHub Copilot](https://github.com/features/copilot), which uses OpenAI to
|
|
|
|
|
suggest code in the `Edit` mode.
|
|
|
|
|
|
|
|
|
|
To set Copilot preferences, select `Preferences > Copilot`.
|
|
|
|
|
|
|
|
|
|
([Documentation](https://doc-snapshots.qt.io/qtcreator-11.0/creator-copilot.html))
|
|
|
|
|
|
|
|
|
|
### vcpkg
|
|
|
|
|
|
|
|
|
|
The experimental vcpkg plugin integrates the [vcpgk](https://vcpkg.io)
|
|
|
|
|
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](https://doc-snapshots.qt.io/qtcreator-11.0/creator-vcpkg.html))
|
|
|
|
|
|
|
|
|
|
### Axivion
|
|
|
|
|
|
|
|
|
|
After you configure access to the [Axivion](https://www.axivion.com) 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](https://doc-snapshots.qt.io/qtcreator-11.0/creator-axivion.html))
|
|
|
|
|
|
2023-05-12 08:44:30 +02:00
|
|
|
General
|
|
|
|
|
-------
|
|
|
|
|
|
2023-06-08 15:53:58 +02:00
|
|
|
* Added a more spacious `Relaxed` toolbar style to `Preferences > Environment >
|
|
|
|
|
Interface`
|
2023-05-12 08:44:30 +02:00
|
|
|
* Added a pin button to progress details instead of automatically resetting
|
2023-06-09 13:51:36 +02:00
|
|
|
their position
|
|
|
|
|
([QTCREATORBUG-28829](https://bugreports.qt.io/browse/QTCREATORBUG-28829))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Improved the selection and navigation in the `Issues` view
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-26128](https://bugreports.qt.io/browse/QTCREATORBUG-26128),
|
|
|
|
|
[QTCREATORBUG-27006](https://bugreports.qt.io/browse/QTCREATORBUG-27006),
|
|
|
|
|
[QTCREATORBUG-27506](https://bugreports.qt.io/browse/QTCREATORBUG-27506))
|
2023-06-20 14:19:37 +02:00
|
|
|
* Fixed a crash with a large number of search hits from Silver Searcher
|
|
|
|
|
([QTCREATORBUG-29130](https://bugreports.qt.io/browse/QTCREATORBUG-29130))
|
2023-05-12 08:44:30 +02:00
|
|
|
* 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
|
|
|
|
|
-------
|
|
|
|
|
|
|
|
|
|
* Improved the performance of the multi-cursor support
|
2023-06-09 13:51:36 +02:00
|
|
|
* Fixed the saving of hardlinked files
|
|
|
|
|
([QTCREATORBUG-19651](https://bugreports.qt.io/browse/QTCREATORBUG-19651))
|
|
|
|
|
* Fixed an issue of copy and paste with multiple cursors
|
|
|
|
|
([QTCREATORBUG-29117](https://bugreports.qt.io/browse/QTCREATORBUG-29117))
|
2023-06-20 14:19:37 +02:00
|
|
|
* Fixed the handling of pre-edit text for input methods
|
|
|
|
|
([QTCREATORBUG-29134](https://bugreports.qt.io/browse/QTCREATORBUG-29134))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### C++
|
|
|
|
|
|
2023-06-09 13:51:36 +02:00
|
|
|
* Improved the style of forward declarations in the outline
|
|
|
|
|
([QTCREATORBUG-312](https://bugreports.qt.io/browse/QTCREATORBUG-312))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Added highlighting for typed string literals and user-defined literals
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-28869](https://bugreports.qt.io/browse/QTCREATORBUG-28869))
|
2023-06-13 17:06:58 +02:00
|
|
|
* Extended the `Add Class Member` refactoring action to create class
|
|
|
|
|
members from assignments
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-1918](https://bugreports.qt.io/browse/QTCREATORBUG-1918))
|
2023-06-20 14:19:37 +02:00
|
|
|
* Fixed that generated functions did not have a `const` qualifier when
|
|
|
|
|
required
|
|
|
|
|
([QTCREATORBUG-29274](https://bugreports.qt.io/browse/QTCREATORBUG-29274))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Fixed that locator showed both the declaration and the definition of symbols
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-13894](https://bugreports.qt.io/browse/QTCREATORBUG-13894))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Fixed the handling of C++20 keywords and concepts
|
2023-06-20 14:19:37 +02:00
|
|
|
* Clangd
|
|
|
|
|
* Fixed that the index could be outdated after VCS operations
|
|
|
|
|
* Fixed the highlighting of labels
|
|
|
|
|
([QTCREATORBUG-27338](https://bugreports.qt.io/browse/QTCREATORBUG-27338))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Built-in
|
2023-06-20 14:19:37 +02:00
|
|
|
* Fixed support for `if`-statements with initializer
|
|
|
|
|
([QTCREATORBUG-29182](https://bugreports.qt.io/browse/QTCREATORBUG-29182))
|
|
|
|
|
* Clang Format
|
|
|
|
|
* Fixed the conversion of tab indentation settings to Clang Format
|
|
|
|
|
([QTCREATORBUG-29185](https://bugreports.qt.io/browse/QTCREATORBUG-29185))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### Language Server Protocol
|
|
|
|
|
|
2023-06-13 17:06:58 +02:00
|
|
|
* Added actions for opening the `Call Hierarchy` to the context menu of the
|
|
|
|
|
editor
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-28839](https://bugreports.qt.io/browse/QTCREATORBUG-28839),
|
|
|
|
|
[QTCREATORBUG-28842](https://bugreports.qt.io/browse/QTCREATORBUG-28842))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### QML
|
|
|
|
|
|
|
|
|
|
* Fixed the reformatting in the presence of JavaScript directives and function
|
2023-06-09 13:51:36 +02:00
|
|
|
return type annotations
|
|
|
|
|
([QTCREATORBUG-29001](https://bugreports.qt.io/browse/QTCREATORBUG-29001),
|
|
|
|
|
[QTCREATORBUG-29046](https://bugreports.qt.io/browse/QTCREATORBUG-29046))
|
|
|
|
|
* Fixed that reformatting changed `of` to `in`
|
|
|
|
|
([QTCREATORBUG-29123](https://bugreports.qt.io/browse/QTCREATORBUG-29123))
|
|
|
|
|
* Fixed the completion for Qt Quick Controls
|
|
|
|
|
([QTCREATORBUG-28648](https://bugreports.qt.io/browse/QTCREATORBUG-28648))
|
2023-06-20 14:19:37 +02:00
|
|
|
* Fixed that `qmllint` issues were not shown in the `Issues` view
|
|
|
|
|
([QTCREATORBUG-28720](https://bugreports.qt.io/browse/QTCREATORBUG-28720))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### Python
|
|
|
|
|
|
|
|
|
|
* Added the option to create a virtual environment (`venv`) to the Python
|
2023-06-09 13:51:36 +02:00
|
|
|
interpreter selector and the wizard
|
|
|
|
|
([PYSIDE-2152](https://bugreports.qt.io/browse/PYSIDE-2152))
|
2023-06-20 14:19:37 +02:00
|
|
|
* Fixed that too many progress indicators could be created
|
|
|
|
|
([QTCREATORBUG-29224](https://bugreports.qt.io/browse/QTCREATORBUG-29224))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
2023-06-13 17:06:58 +02:00
|
|
|
([Documentation](https://doc-snapshots.qt.io/qtcreator-11.0/creator-python-development.html))
|
|
|
|
|
|
2023-05-12 08:44:30 +02:00
|
|
|
Projects
|
|
|
|
|
--------
|
|
|
|
|
|
2023-06-13 17:06:58 +02:00
|
|
|
* Made it possible to add devices in `Preferences > Devices > Add` without going
|
|
|
|
|
through the wizard
|
|
|
|
|
* Added support for moving files to a different directory when renaming them in
|
|
|
|
|
the `File System` view
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-15981](https://bugreports.qt.io/browse/QTCREATORBUG-15981))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
2023-06-13 17:06:58 +02:00
|
|
|
([Documentation](https://doc.qt.io/qtcreator/creator-file-system-view.html))
|
|
|
|
|
|
2023-05-12 08:44:30 +02:00
|
|
|
### CMake
|
|
|
|
|
|
2023-06-09 13:51:36 +02:00
|
|
|
* Implemented adding files to the project
|
|
|
|
|
([QTCREATORBUG-25922](https://bugreports.qt.io/browse/QTCREATORBUG-25922),
|
|
|
|
|
[QTCREATORBUG-26006](https://bugreports.qt.io/browse/QTCREATORBUG-26006),
|
|
|
|
|
[QTCREATORBUG-27213](https://bugreports.qt.io/browse/QTCREATORBUG-27213),
|
|
|
|
|
[QTCREATORBUG-27538](https://bugreports.qt.io/browse/QTCREATORBUG-27538),
|
|
|
|
|
[QTCREATORBUG-28493](https://bugreports.qt.io/browse/QTCREATORBUG-28493),
|
|
|
|
|
[QTCREATORBUG-28904](https://bugreports.qt.io/browse/QTCREATORBUG-28904),
|
|
|
|
|
[QTCREATORBUG-28985](https://bugreports.qt.io/browse/QTCREATORBUG-28985),
|
|
|
|
|
[QTCREATORBUG-29006](https://bugreports.qt.io/browse/QTCREATORBUG-29006))
|
2023-06-15 12:31:50 +02:00
|
|
|
* Added `Build > Reload CMake Presets` to reload CMake presets after making
|
|
|
|
|
changes to them
|
2023-06-20 14:19:37 +02:00
|
|
|
* Added support for `block()` and `endblock()`
|
2023-06-15 12:31:50 +02:00
|
|
|
* Fixed that CMake Presets were not visible in `Projects` view
|
|
|
|
|
([QTCREATORBUG-28966](https://bugreports.qt.io/browse/QTCREATORBUG-28966))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Fixed issues with detecting a configured Qt version when importing a build
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-29075](https://bugreports.qt.io/browse/QTCREATORBUG-29075))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### Python
|
|
|
|
|
|
2023-06-13 17:06:58 +02:00
|
|
|
* Added an option for selecting the interpreter to the wizards in
|
|
|
|
|
`File > New Project > Application (Qt for Python)`
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
Debugging
|
|
|
|
|
---------
|
|
|
|
|
|
2023-06-13 17:06:58 +02:00
|
|
|
* Improved the UI for enabling and disabling debuggers in `Projects > Run >
|
|
|
|
|
Debugger settings`
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-28627](https://bugreports.qt.io/browse/QTCREATORBUG-28627))
|
2023-06-20 14:19:37 +02:00
|
|
|
* Fixed the automatic source mapping for Qt versions from an installer
|
|
|
|
|
([QTCREATORBUG-28950](https://bugreports.qt.io/browse/QTCREATORBUG-28950))
|
|
|
|
|
* Fixed pretty printer for `std::string` for recent `libc++`
|
|
|
|
|
([QTCREATORBUG-29230](https://bugreports.qt.io/browse/QTCREATORBUG-29230))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### C++
|
|
|
|
|
|
|
|
|
|
* Added an option for the default number of array elements to show
|
|
|
|
|
(`Preferences > Debugger > Locals & Expressions > Default array size`)
|
2023-06-20 14:19:37 +02:00
|
|
|
* Fixed debugging in a terminal as the root user
|
|
|
|
|
([QTCREATORBUG-27519](https://bugreports.qt.io/browse/QTCREATORBUG-27519))
|
2023-05-12 08:44:30 +02:00
|
|
|
* CDB
|
|
|
|
|
* Added automatic source file mapping for Qt packages
|
2023-06-09 13:51:36 +02:00
|
|
|
* Fixed the variables view on remote Windows devices
|
|
|
|
|
([QTCREATORBUG-29000](https://bugreports.qt.io/browse/QTCREATORBUG-29000))
|
2023-05-12 08:44:30 +02:00
|
|
|
* LLDB
|
|
|
|
|
* Fixed that long lines in the application output were broken into multiple
|
2023-06-09 13:51:36 +02:00
|
|
|
lines
|
|
|
|
|
([QTCREATORBUG-29098](https://bugreports.qt.io/browse/QTCREATORBUG-29098))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### Qt Quick
|
|
|
|
|
|
2023-06-09 13:51:36 +02:00
|
|
|
* Improved the auto-detection if QML debugging is required
|
|
|
|
|
([QTCREATORBUG-28627](https://bugreports.qt.io/browse/QTCREATORBUG-28627))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Added an option for disabling static analyzer messages to
|
2023-06-09 13:51:36 +02:00
|
|
|
`Qt Quick > QML/JS Editing`
|
|
|
|
|
([QTCREATORBUG-29095](https://bugreports.qt.io/browse/QTCREATORBUG-29095))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
Analyzer
|
|
|
|
|
--------
|
|
|
|
|
|
|
|
|
|
### Clang
|
|
|
|
|
|
|
|
|
|
* Fixed that a `.clang-tidy` file in the project directory was not used by
|
2023-06-09 13:51:36 +02:00
|
|
|
default
|
|
|
|
|
([QTCREATORBUG-28852](https://bugreports.qt.io/browse/QTCREATORBUG-28852))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
Version Control Systems
|
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
|
|
### Git
|
|
|
|
|
|
|
|
|
|
* Instant Blame
|
2023-06-09 13:51:36 +02:00
|
|
|
* Improved the performance
|
|
|
|
|
([QTCREATORBUG-29151](https://bugreports.qt.io/browse/QTCREATORBUG-29151))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Fixed that it did not show at the end of the document
|
|
|
|
|
|
|
|
|
|
Platforms
|
|
|
|
|
---------
|
|
|
|
|
|
|
|
|
|
### Android
|
|
|
|
|
|
2023-06-09 13:51:36 +02:00
|
|
|
* Fixed an issue with building library targets
|
|
|
|
|
([QTCREATORBUG-26980](https://bugreports.qt.io/browse/QTCREATORBUG-26980))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### Remote Linux
|
|
|
|
|
|
|
|
|
|
* Removed the automatic sourcing of target-side shell profiles
|
|
|
|
|
|
|
|
|
|
### Docker
|
|
|
|
|
|
2023-06-09 13:51:36 +02:00
|
|
|
* Added support for `qmake` based projects
|
|
|
|
|
([QTCREATORBUG-29140](https://bugreports.qt.io/browse/QTCREATORBUG-29140))
|
2023-05-12 08:44:30 +02:00
|
|
|
* Fixed issues after deleting the Docker image for a registered Docker device
|
2023-06-09 13:51:36 +02:00
|
|
|
([QTCREATORBUG-28880](https://bugreports.qt.io/browse/QTCREATORBUG-28880))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
### QNX
|
|
|
|
|
|
|
|
|
|
* Added `slog2info` as a requirement for devices
|
2023-06-09 13:51:36 +02:00
|
|
|
* Fixed the support for remote working directories
|
|
|
|
|
([QTCREATORBUG-28900](https://bugreports.qt.io/browse/QTCREATORBUG-28900))
|
2023-05-12 08:44:30 +02:00
|
|
|
|
|
|
|
|
Credits for these changes go to:
|
|
|
|
|
--------------------------------
|
|
|
|
|
Aleksei German
|
|
|
|
|
Alessandro Portale
|
|
|
|
|
Alexander Drozdov
|
|
|
|
|
Alexander Pershin
|
|
|
|
|
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
|
|
|
|
|
Henning Gruendl
|
|
|
|
|
Jaroslaw Kobus
|
|
|
|
|
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
|
|
|
|
|
Orgad Shaneh
|
|
|
|
|
Pranta Dastider
|
|
|
|
|
Robert Löhning
|
|
|
|
|
Samuel Ghinet
|
|
|
|
|
Semih Yavuz
|
|
|
|
|
Tasuku Suzuki
|
|
|
|
|
Thiago Macieira
|
|
|
|
|
Thomas Hartmann
|
|
|
|
|
Tim Jenssen
|
|
|
|
|
Tim Jenßen
|
|
|
|
|
Ulf Hermann
|
|
|
|
|
Vikas Pachdha
|
|
|
|
|
Yasser Grimes
|
|
|
|
|
Yixue Wang
|