Update contributor list Change-Id: I83ed8fdc714f6be0fd4d77cc1ef3078e3ab5ced6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
16 KiB
Qt Creator 12
Qt Creator version 12 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/11.0..v12.0.0
What's new?
- Integrated Compiler Explorer (https://godbolt.org)
- CMake debugging and the Debug Adapter Protocol
- Screen recording
Compiler Explorer
Use Compiler Explorer (https://godbolt.org) in Qt Creator and enter example code to explore the capabilities of your compilers and interpreters.
To enable the CompilerExplorer plugin, select
Help > About Plugins > Utilities > CompilerExplorer. Then select
Restart Now to restart Qt Creator and load the plugin.
Select File > New File and select one of the new Compiler Explorer templates
to get started.
Alternatively, you can open a new Compiler Explorer editor via
Tools > Compiler Explorer > Open Compiler Explorer.
Every language, compiler, and library that is supported at https://godbolt.org
is also supported in Qt Creator. You can save your Compiler Explorer session as
a .qtce file (JSON-based).
CMake Debugging and the Debug Adapter Protocol
Set breakpoints in a CMake file and select
Debug > Start Debugging > Start CMake Debugging to start debugging.
Screen Recording
Use Tools > Record Screen to record a part of your screen. Requires an
installation of FFmpeg.
To enable the ScreenRecorder plugin, select
Help > About Plugins > Utilities > ScreenRecorder. Then select
Restart Now to restart Qt Creator and load the plugin.
General
- Improved the startup performance significantly on various setups
- Added the
Sort resultscheck box for configuring themdlocator filter inEdit > Preferences > Environment > Locatorto keep the sorting from the tool used for the file system index locator filter (QTCREATORBUG-27789) (Documentation) - Added the
View > Show Menu Baroption to hide the menu bar on platforms without a unified menu bar (QTCREATORBUG-29498) (Documentation) - Changed the
Enable high DPI scalingsetting to aDPI rounding policysetting, which fits Qt's settings better (Documentation) - Fixed an issue with growing session files
- Fixed that the shortcuts for the navigation views could be stuck to opening a view in the right side bar (QTCREATORBUG-29770)
- Fixed that the shortcut for Locator switched to the main window (QTCREATORBUG-29741)
Help
- Added the
Edit > Preferences > Help > General > Antialiascheck box for setting the anti-aliasing of text (QTCREATORBUG-12177) (Documentation)
Editing
- Added the count of selected characters to line and column information
on the
Editmode toolbar (QTCREATORBUG-29381) (Documentation) - Added an indenter, auto-brace and auto-quote for JSON (Documentation)
- Improved the performance of searching in big documents
- Fixed that the historical order of open documents was not restored
- Fixed that suggestions were rendered with the wrong tab size (QTCREATORBUG-29483)
C++
- Updated to LLVM 17.0.1
- Added
Tools > C++ > Fold All Comment BlocksandUnfold All Comment Blocks(QTCREATORBUG-2449) (Documentation) - Added the
Convert Comment to C StyleandConvert Comment to C++ Stylerefactoring actions for converting comments between C++-style and C-style (QTCREATORBUG-27501) (Documentation) - Added the
Move Function Documentation to DeclarationandMove Function Documentation to Definitionrefactoring actions for moving documentation between function declaration and definition (QTCREATORBUG-13877) - Extended the application of renaming operations to documentation comments (QTCREATORBUG-12051, QTCREATORBUG-15425)
- Fixed that code inserted by refactoring actions was not formatted according to the Clang Format settings (QTCREATORBUG-10807, QTCREATORBUG-19158)
- Fixed that automatically created functions could be added between another function and its documentation (QTCREATORBUG-6934)
- Fixed that scope names were considered when searching for
C++ Symbolswith advanced find (QTCREATORBUG-29133) - Clangd
- Added the
Completion ranking modeloption for choosing the order of completion results (QTCREATORBUG-29013) - Fixed that the refactoring actions from Clangd were not available in the context menu
- Fixed that renaming symbols could rename them in generated files (QTCREATORBUG-29778)
- Added the
- Clang Format
- Fixed the style settings for Clang Format 16 and later (QTCREATORBUG-29434)
QML
- Fixed multiple crashes when updating the
Outlineview (QTCREATORBUG-28862, QTCREATORBUG-29653, QTCREATORBUG-29702) - Fixed that reformatting QML code removed type annotations (QTCREATORBUG-29061)
- Fixed invalid
M325warnings (QTCREATORBUG-29601) - Language Server
- Fixed the shortcut for applying refactoring actions (QTCREATORBUG-29557)
Python
- Fixed duplicate code when renaming (QTCREATORBUG-29389)
Language Server Protocol
- Added support for Language servers that request creating, renaming, or deleting of files (QTCREATORBUG-29542)
Widget Designer
- Fixed that renaming layouts in the property editor switched to edit mode (QTCREATORBUG-29644)
Copilot
- Added support for proxies (QTCREATORBUG-29485) (Documentation)
- Fixed the auto-detection of
agent.js(QTCREATORBUG-29750)
TODO
- Added the
\todokeyword to the default
Markdown
- Added buttons and configurable shortcuts for text styles (Documentation)
Images
- Fixed that animations could not be restarted (QTCREATORBUG-29606)
- Fixed that looping animations did not loop (QTCREATORBUG-29606)
Projects
- Project specific settings
- Added C++ file naming settings (QTCREATORBUG-22033) (Documentation)
- Added documentation comment settings (Documentation)
- Added an option for the Doxygen command prefix (QTCREATORBUG-8096)
- Improved performance of filtering the target setup page (QTCREATORBUG-29494)
- Fixed that run configurations were removed when the corresponding target vanishes (even temporarily) (QTCREATORBUG-23163, QTCREATORBUG-28273)
- Fixed issues with recursive symbolic links (QTCREATORBUG-29663)
CMake
- Removed support for extra generators
- Added
Follow Symbol Under Cursorfor functions, macros, targets and packages (QTCREATORBUG-25523, QTCREATORBUG-25524) - Added support for
CMAKE_SOURCE_DIRand similar variables forJump to File Under Cursor(QTCREATORBUG-29467) - Added code completion for various aspects of CMake (local functions and
variables, cache variables,
ENV, targets, packages, variables added byfind_package) - Added support for
CMAKE_UNITY_BUILD(QTCREATORBUG-23635, QTCREATORBUG-26822, QTCREATORBUG-29080) - Added support for
cmake-formatconfiguration files (QTCREATORBUG-28969) - Added help tooltips (QTCREATORBUG-25780)
- Extended context help for variables, properties and modules
- Improved performance when switching sessions (QTCREATORBUG-27729)
- Fixed issues with the subdirectory structure of the project tree (QTCREATORBUG-23942, QTCREATORBUG-29105)
- Fixed an issue with source file specific compiler flags (QTCREATORBUG-29707)
- Presets
- Fixed that variables were not expanded for
cmakeExecutable(QTCREATORBUG-29643) - Fixed unnecessary restrictions on the preset name
- Fixed that variables were not expanded for
Python
- Added auto-detection of PySide from the installer (PYSIDE-2153) (Documentation)
- Added the option to forward the display for remote Linux (Documentation)
- Fixed PySide wheels installation on macOS
qmake
- Fixed the project tree structure in case of some subfolder structures (QTCREATORBUG-29733)
Qbs
- Fixed the importing of builds on macOS (QTCREATORBUG-29829)
vcpkg
- Added the generation of code for
CMakeLists.txt - Added parsing the dependencies from
vcpkg.jsonmanifest files - Improved the addition of dependencies to
vcpkg.json
Qt Safe Renderer
- Added a wizard for Qt Safe Renderer 2.1 and later (Documentation)
Debugging
C++
- Added support for remote Linux debugging with LLDB
- Fixed warnings about index cache permissions (QTCREATORBUG-29556)
- Pretty Printers
- Fixed
QDateTimewith a time zone offset (QTCREATORBUG-29737) - Fixed
std::unique_ptron macOS - Fixed
QImage
- Fixed
Analyzer
Clang
- Fixed that error messages were not shown (QTCREATORBUG-29298)
- Fixed that
-mno-direct-extern-accesscould be passed toclang-tidywhich does not support it
CTF Visualizer
- Fixed that process and thread IDs could not be strings
- Fixed the computation of nesting levels
- Fixed a crash when zooming with a touch pad
Terminal
- Added mouse support
- Added support for Windows Terminal schemes
- Fixed
Ctrl+C/Von Windows
Version Control Systems
Git
- Added the
Ignore whitespace changesandIgnore line movesoptions toPreferences > Version Control > Git > Instant Blame(QTCREATORBUG-29378) (Documentation)
CVS
- Disabled by default
Test Integration
- Added an option for the number of threads used for scanning (QTCREATORBUG-29301)
- Improved the wizards for
GTestandCatch2 - CTest
- Enabled colored test output
Platforms
macOS
- Fixed running and debugging in an external terminal (QTCREATORBUG-29246)
Android
- Fixed issues when
LIBRARY_OUTPUT_DIRECTORYis set in the CMake build files (QTCREATORBUG-26479)
iOS
- Known Issue: iOS 17 devices are not supported
Docker
- Fixed the check for commands that are built-ins of the shell
Credits for these changes go to:
Aleksei German
Alessandro Portale
Alexandre Laurent
Ali Kianian
Amr Essam
Andre Hartmann
André Pönitz
Andreas Loth
Artem Sokolovskii
Brook Cronin
Burak Hancerli
Christian Kandeler
Christian Stenger
Cristian Adam
David Schulz
Dominic Ernst
Eike Ziller
Esa Törmänen
Friedemann Kleint
Henning Gruendl
Jaroslaw Kobus
Johanna Vanhatapio
Johnny Jazeix
Jonas Karlsson
Jussi Witick
Karim Abdelrahman
Knud Dollereder
Leena Miettinen
Ludovic Le Brun
Mahmoud Badri
Marco Bubke
Marcus Tillmanns
Mats Honkamaa
Mehdi Salem
Miikka Heikkinen
Mike Chen
Olivier De Cannière
Olivier Delaune
Orgad Shaneh
Pranta Dastider
Robert Löhning
Sami Shalayel
Samuel Ghinet
Samuli Piippo
Semih Yavuz
Tasuku Suzuki
Thiago Macieira
Thomas Hartmann
Tim Jenssen
Tim Jenßen
Tor Arne Vestbø
Vikas Pachdha
Xavier Besson
Yasser Grimes