diff options
author | Eike Ziller <[email protected]> | 2025-07-18 09:36:16 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2025-09-11 11:26:23 +0000 |
commit | 289e2e3d9bcb1afef15a5173399a1ac6383c47bd (patch) | |
tree | 3f5ef33d0a1f0221c1da379d0852b5cfc175eeb8 | |
parent | 5300314722a90f88fb97808fc6f9ad867e197f2e (diff) |
Change log for 18.0.0
Change-Id: I90cc09c30739c42e636e90ccfcf67fdbf073dd02
Reviewed-by: Leena Miettinen <[email protected]>
-rw-r--r-- | dist/api-changelog/api-changes-18.md | 70 | ||||
-rw-r--r-- | dist/changelog/changes-18.0.0.md | 319 | ||||
-rw-r--r-- | dist/changelog/template.md | 2 |
3 files changed, 391 insertions, 0 deletions
diff --git a/dist/api-changelog/api-changes-18.md b/dist/api-changelog/api-changes-18.md new file mode 100644 index 00000000000..26bcc4d05ce --- /dev/null +++ b/dist/api-changelog/api-changes-18.md @@ -0,0 +1,70 @@ +Qt Creator 18 +============= + +This document aims to summarize the API changes in selected libraries and +plugins. + +| Before | After | +|------------------------------------------------------------------|--------------------------------------------------------------------------------| +| | | +| **General** | | +| QTextCodec * | Replaced by Utils::TextEncoding | +| | | +| **Layouting** | | +| If (*condition*, { *then-case* }, { *else-case* }) | If (*condition*) >> Then { *then-case* } >> Else { *else-case* } | +| | | +| **Tasking** | | +| CallDoneIf::Success | Renamed to CallDone::OnSuccess | +| CallDoneIf::Error | Renamed to CallDone::OnError | +| CallDoneIf::SuccessOrError | Renamed to CallDone::Always | +| - | Added CallDone::OnCancel | +| MultiBarrier | Renamed to StoredMultiBarrier | +| NetworkOperation | Replaced by QNetworkAccessManager::Operation | +| SharedBarrier | Renamed to StartedBarrier and derived from Barrier | +| SingleBarrier | Renamed to StoredBarrier | +| TaskTreeRunner | Renamed to SingleTaskTreeRunner | +| | | +| **Utils** | | +| makeWritable | FilePath::makeWritable | +| StyleHelper::SpacingTokens | Were renamed and adapted to the new design | +| Text::positionInText | The column parameter is now 0-based | +| toFilePathList | FilePaths::fromStrings | +| **Utils::FilePath** | | +| fromStrings | FilePaths::fromStrings | +| fromSettingsList | FilePaths::fromSettings | +| **Utils::FilePathAspect** | | +| FilePath baseFileName() | Lazy\<FilePath\> baseFileName() | +| **Utils::FilePaths** | | +| alias for QList\<FilePath\> | Custom class derived from QList\<FilePath> | +| **Utils::Link** | | +| targetLine and targetColumn members | Merged into one Text::Position member | +| **Utils::PathChooser** | | +| FilePath baseDirectory() | Lazy\<FilePath\> baseDirectory() | +| **Utils::TextFileFormat** | | +| QStringList-based decode | Removed, use the QString-based method | +| static readFile | Made a member function instead of returning TextFileFormat as output parameter | +| readFile QString(List) and decodingErrorSample output parameters | Removed, part of ReadResult now | +| static void detect | void detectFromData | +| | | +| **ExtensionSystem** | | +| | | +| **Core** | | +| **Core::ExternalToolManager** | | +| readSettings and parseDirectory | Removed | +| **Core::TextDocument** | | +| read QString(List) output parameters | ReadResult includes the read contents | +| | | +| **TextEditor** | | +| **TextEditor::TabSettings** | | +| removeTrailingWhitespace(QTextCursor cursor, QTextBlock &block) | removeTrailingWhitespace(const QTextBlock &block) | +| | | +| **ProjectExplorer** | | +| **ProjectExplorer::BuildConfiguration** | | +| rawBuildDirectory | Removed | +| **ProjectExplorer::DetectionSource** | Has been added and is used for various detectionSource() getters | +| **ProjectExplorer::ITaskHandler** | | +| actionManagerId and createAction | Removed, pass them to the constructor instead | +| **ProjectExplorer::RawProjectPart** | | +| setIncludeFiles | Changed to use Utils::FilePaths | +| **ProjectExplorer::Task** | | +| Members | Are replaced by setters and getters | diff --git a/dist/changelog/changes-18.0.0.md b/dist/changelog/changes-18.0.0.md new file mode 100644 index 00000000000..909a71ab533 --- /dev/null +++ b/dist/changelog/changes-18.0.0.md @@ -0,0 +1,319 @@ +Qt Creator 18 +============= + +Qt Creator version 18 contains bug fixes and new features. +It is a free upgrade for commercial license holders. + +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 or view online at + +<https://code.qt.io/cgit/qt-creator/qt-creator.git/log/?id=17.0..v18.0.0> + +New plugins +----------- + +### Development Container Support + +The development container support detects a `devcontainer.json` in your project +directory and creates a docker container for it. +It supports Qt Creator specific `customizations` in the `devcontainer.json` that +let you auto detect or specify custom kits for the container and control other +aspects like the command bridge. + +([Development Container Documentation](https://containers.dev/)) + +General +------- + +* Moved some messages from the `General Messages` to `Issues` +* Changed the notifications to popups with the option to opt-out with + `Environment > Interface > Prefer banner style info bars over pop-ups` +* Added the `HostOs:DocumentsLocation`, `HostOs:GenericDataLocation`, + `HostOs:HomeLocation`, and `HostOs:TempLocation` Qt Creator variables that + map to the corresponding `QStandardPaths` +* Added the `:DirName` postfix for Qt Creator variables that map to file paths + ([QTCREATORBUG-33205](https://bugreports.qt.io/browse/QTCREATORBUG-33205)) +* Fixed a freeze when installing large plugins + ([QTCREATORBUG-33069](https://bugreports.qt.io/browse/QTCREATORBUG-33069)) +* Welcome + * Added an `Overview` tab +* Locator + * Made `Use Tab Completion` (when pressing the `Tab` key) optional + ([QTCREATORBUG-33193](https://bugreports.qt.io/browse/QTCREATORBUG-33193)) + +Editing +------- + +* Added the option `Environment > Interface > Use tabbed editors` + ([QTCREATORBUG-31644](https://bugreports.qt.io/browse/QTCREATORBUG-31644)) + * Added `Window > Previous Tab` and `Window > Next Tab` +* Added `File > Save Without Formatting` +* Added `Open With > Cycle to Next Editor` + ([QTCREATORBUG-32482](https://bugreports.qt.io/browse/QTCREATORBUG-32482), + [QTCREATORBUG-32610](https://bugreports.qt.io/browse/QTCREATORBUG-32610)) +* Fixed that error markers were not removed when fixing the error + ([QTCREATORBUG-33108](https://bugreports.qt.io/browse/QTCREATORBUG-33108)) + +### C++ + +* Added automatic insertion of the closing part of a raw string literal prefix + ([QTCREATORBUG-31901](https://bugreports.qt.io/browse/QTCREATORBUG-31901)) +* Fixed that trailing white space was removed from raw string literals + ([QTCREATORBUG-30003](https://bugreports.qt.io/browse/QTCREATORBUG-30003)) +* Fixed that `Re-order Member Function Definitions According to Declaration Order` + did not move comments accordingly + ([QTCREATORBUG-33070](https://bugreports.qt.io/browse/QTCREATORBUG-33070)) +* Fixed the generation of `compile_commands.json` for remote projects +* Quick fixes + * Added `Remove Curly Braces` + * Added `Add definition` for static data members + ([QTCREATORBUG-20961](https://bugreports.qt.io/browse/QTCREATORBUG-20961)) + * Fixed issues with templates and nested classes + ([QTCREATORBUG-9727](https://bugreports.qt.io/browse/QTCREATORBUG-9727)) + * Fixed issues with nested template parameters + ([QTCREATORBUG-17695](https://bugreports.qt.io/browse/QTCREATORBUG-17695)) +* Built-in + * Added support for template deduction guides + * Added support for fold expressions + * Added support for `decltype(auto)` as function return types + * Added support for `if consteval` and `if not consteval` + * Added support for __int128 + * Fixed the preprocessor expansion in include directives + ([QTCREATORBUG-27473](https://bugreports.qt.io/browse/QTCREATORBUG-27473)) + * Fixed issues with defaulted and deleted functions + ([QTCREATORBUG-26090](https://bugreports.qt.io/browse/QTCREATORBUG-26090)) + * Fixed the parsing of friend declarations with a simple type specifier + * Fixed the parsing of attributes after an operator name + +### QML + +* Added the option to install Qt Design Studio via the Qt Online Installer + ([QTCREATORBUG-30787](https://bugreports.qt.io/browse/QTCREATORBUG-30787)) +* Added the option to override the path to `qmlls` + ([QTCREATORBUG-32749](https://bugreports.qt.io/browse/QTCREATORBUG-32749)) + +### Copilot + +* Added support for GitHub Enterprise environments + ([QTCREATORBUG-33220](https://bugreports.qt.io/browse/QTCREATORBUG-33220)) +* Fixed configuration issues with Copilot >= v1.49.0 + +### Markdown + +* Improved table rendering +* Fixed the scaling of images + ([QTCREATORBUG-33325](https://bugreports.qt.io/browse/QTCREATORBUG-33325)) + +### SCXML + +* Fixed the positioning of the transition arrow + ([QTCREATORBUG-32654](https://bugreports.qt.io/browse/QTCREATORBUG-32654)) + +### GLSL + +* Fixed the handling of interface blocks + ([QTCREATORBUG-12784](https://bugreports.qt.io/browse/QTCREATORBUG-12784), + [QTCREATORBUG-27068](https://bugreports.qt.io/browse/QTCREATORBUG-27068)) + +Projects +-------- + +* Moved the project settings to a `.qtcreator` subdirectory in the project + directory. The `.user` file at the old location in the project directory is + kept up to date in addition, for old projects + ([QTCREATORBUG-28610](https://bugreports.qt.io/browse/QTCREATORBUG-28610)) +* Changed the `Build` and `Run` subitems to tabs in `Projects` mode and + separated `Deploy Settings` from `Run Settings` +* Changed the `Current Project` advanced search to `Single Project` with + an explicit choice of the project to search + ([QTCREATORBUG-29790](https://bugreports.qt.io/browse/QTCREATORBUG-29790)) +* Removed the `Code Snippet` wizard from `File > New Project > Other Project`. + Use `Plain C++` instead +* Made options from the global `Build & Run` settings available as project + specific options +* Made `Copy Steps From Another Kit` available without first enabling the kit + ([QTCREATORBUG-24123](https://bugreports.qt.io/browse/QTCREATORBUG-24123)) +* Made the default deploy configuration available for all target devices +* Added a configuration for various tools on devices, like GDB server, CMake, + clangd, rsync, qmake, and more, and the option to auto-detect them +* Added the setting `Build & Run > General > Keep run configurations in sync` + with the option to synchronize run configurations within one or all kits + ([QTCREATORBUG-33172](https://bugreports.qt.io/browse/QTCREATORBUG-33172)) +* Added the tool button `Create Issues From External Build Output` to the + `Issues` view + ([QTCREATORBUG-30776](https://bugreports.qt.io/browse/QTCREATORBUG-30776)) +* Added the + `Preferences > Build & Run > Default Build Properties > Default working directory` + setting for run configurations +* Added keyboard shortcuts for editing the active build and run configurations + ([QTCREATORBUG-27887](https://bugreports.qt.io/browse/QTCREATORBUG-27887)) +* Added the option to add a file to a project directly from the + `This file is not part of any project` warning + ([QTCREATORBUG-25834](https://bugreports.qt.io/browse/QTCREATORBUG-25834)) +* Added the `Project` Qt Creator variable for the build configuration settings + that maps to the project file path +* Added a Qt Interface Framework project wizard + ([QTBUG-99070](https://bugreports.qt.io/browse/QTBUG-99070)) +* Added the `Enable logging category filtering` option for desktop run + configurations with Qt 6.11 and later + ([QTCREATORBUG-33169](https://bugreports.qt.io/browse/QTCREATORBUG-33169)) +* Fixed `Duplicate File` for remote projects + +### CMake + +* Added more detailed information to the build progress tool tip + ([QTCREATORBUG-33356](https://bugreports.qt.io/browse/QTCREATORBUG-33356)) +* Added the `ct` locator filter for running CTest tests +* Fixed `Build for All Configurations` + ([QTCREATORBUG-33178](https://bugreports.qt.io/browse/QTCREATORBUG-33178)) +* Fixed issues with rewriting `CMakeLists.txt` files with the UTF-8 BOM set + ([QTCREATORBUG-33363](https://bugreports.qt.io/browse/QTCREATORBUG-33363)) +* vcpkg + +### qmake + +* Fixed various issues with opening remote projects + TODO: what state is that exactly in now? + +### Python + +* Removed PySide2 from the project wizard options + ([QTCREATORBUG-33030](https://bugreports.qt.io/browse/QTCREATORBUG-33030)) + +### Workspace + +* Changed projects to be automatically configured for the default kit on first + use +* Added minimal support for Cargo build projects (Rust) + +Debugging +--------- + +### C++ + +* Fixed `Load QML Stack` + ([QTCREATORBUG-33244](https://bugreports.qt.io/browse/QTCREATORBUG-33244)) + +Analyzer +-------- + +### Clang + +* Added Clang-Tidy and Clazy issues from the current document to the `Issues` + view + ([QTCREATORBUG-29789](https://bugreports.qt.io/browse/QTCREATORBUG-29789)) +* Improved the performance of loading diagnostics from a file +* Fixed freezes when applying multiple fix-its + ([QTCREATORBUG-25394](https://bugreports.qt.io/browse/QTCREATORBUG-25394)) + +### Axivion + +* Added a request for the user to add a path mapping when opening files from + the issues table and none exist + +### Coco + +* Fixed issues with MinGW + ([QTCREATORBUG-33287](https://bugreports.qt.io/browse/QTCREATORBUG-33287)) + +Version Control Systems +----------------------- + +### Git + +* Added `Git > Local Repository > Patch > Apply from Clipboard` +* Added `Git > Local Repository > Patch > Create from Commits` +* Commit editor + * Added `Recover File`, `Revert All Changes to File`, and + `Revert Unstaged Changes to File` to the context menu on files + * Added `Stage`, `Unstage`, and `Add to .gitignore` to the context menu on + untracked files + * Added actions for resolving conflicts +* Added an error indicator and error messages to the `Add Branch` dialog +* Added `Diff & Cancel` to the `Checkout Branch` dialog +* Added a visualization of the version control state to the `File System` view +* Improved performance of file modification status updates + ([QTCREATORBUG-32002](https://bugreports.qt.io/browse/QTCREATORBUG-32002)) +* Fixed updating the `Branch` view after changes + ([QTCREATORBUG-29918](https://bugreports.qt.io/browse/QTCREATORBUG-29918)) + +Platforms +--------- + +### macOS + +* Removed the auto-detection of 32-bit compilers +* Made it clearer which auto-detected toolchains are only for iOS +* Fixed that the automatically set toolchain for desktop kits could be an iOS + toolchain + +### Android + +* Fixed the qmake project path set when creating APK templates + ([QTCREATORBUG-33215](https://bugreports.qt.io/browse/QTCREATORBUG-33215)) + +### Remote Linux + +* Added the `Auto-connect on startup` option and removed automatic connection + to devices if it is turned off (the default) +* Added support for deployment with `rsync` with remote build devices +* Improved the error message when device tests fail + ([QTCREATORBUG-32933](https://bugreports.qt.io/browse/QTCREATORBUG-32933)) + +### Docker + +* Added the option `Mount Command Bridge` to the docker device configuration + ([QTCREATORBUG-33006](https://bugreports.qt.io/browse/QTCREATORBUG-33006)) + +Credits for these changes go to: +-------------------------------- +Aaron McCarthy +Alessandro Portale +Alexandru Croitor +Alexis Jeandet +Ali Kianian +Amr Essam +Andre Hartmann +Andrzej Biniek +André Pönitz +Assam Boudjelthia +Björn Schäpers +Burak Hancerli +Christian Kandeler +Christian Stenger +Cristian Adam +David Schulz +Dheerendra Purohit +Eike Ziller +Eren Bursali +faust747 +Friedemann Kleint +Jaroslaw Kobus +Johanna Vanhatapio +Kai Köhne +Leena Miettinen +Mahmoud Badri +Marco Bubke +Marcus Tillmanns +Markus Redeker +Miikka Heikkinen +Mitch Curtis +Nicholas Bennett +Nikita Baryshnikov +Olivier De Cannière +Orgad Shaneh +Philip Van Hoof +Renaud Guezennec +Sami Shalayel +Samuli Piippo +Semih Yavuz +Sheree Morphett +Stanislav Polukhanov +Teea Poldsam +Thiago Macieira +Tian Shilin +Tim Jenßen +Volodymyr Zibarov +Xavier Besson +Zoltan Gera diff --git a/dist/changelog/template.md b/dist/changelog/template.md index a1c571bfe92..4fe759dd153 100644 --- a/dist/changelog/template.md +++ b/dist/changelog/template.md @@ -48,6 +48,8 @@ Editing ### FakeVim +### GLSL + ### Binary Files Projects |