[qt/qt/qtbase]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qtbase Pushed by mirror-service into branch '6.12'. Changed from f7c9ce5852008818c7f35f30f360c7e407db7d82 to d99bfb224dce53badbff6be77756e5763351c058 Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit 6d6f569127fcca82a8895e724c7006fd022cddbc by Qt Cherry-pick Bot (on behalf of Zbigniew Chyla) on 26/07/2026 at 11:16.. ohos: AppKit: add out-of-line dtor to AbilityContext AbilityContext is the only polymorphic class in the external OhosAppKit API that does not define its destructor out-of-line, unlike other sibling interface classes. Per the Qt review guidelines, a polymorphic class should define its destructor out-of-line to pin the vtable to a single translation unit. Task-number: QTBUG-147194 Change-Id: Icb987eaaab54223bbfc3cd9fc45a6eaae47e7b31 Reviewed-by: Liang Qi <[email protected]> (cherry picked from commit 2dfe03cce6f513161c60600bac9127e119f9850f) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/6d6f569127fcca82a8895e724c7006fd022cddbc Git commit d91534d4ede730f5e0ee0ac3083e57b4ac86fa90 by Qt Cherry-pick Bot (on behalf of Zbigniew Chyla) on 26/07/2026 at 11:16.. ohos: kill QOhosOptional use in input/keyboard files The QOhosOptional<T> alias for std::optional<T>, together with its makeQOhosOptional() and makeEmptyQOhosOptional() helpers, is being eliminated in favor of using std::optional directly. Replace every remaining use in the input, key-event and input-method plugin files with plain std::optional and add <optional> includes where the type is used and no included header already provides one. Where std::optional is the target type (a function return), use the underlying value directly instead of wrapping it, and return {} instead of std::nullopt; keep the explicit optional only where it is required, e.g. in conditional expressions. Drop the now-unused qohosplugincore.h include from the files where QOhosOptional was the only symbol taken from it. Task-number: QTBUG-147543 Change-Id: If89130fef3f611c77fe51b85ad03f774a889d696 Reviewed-by: Liang Qi <[email protected]> (cherry picked from commit ec3cbd914f1f16cd1e4c24871343004433bc75bf) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/d91534d4ede730f5e0ee0ac3083e57b4ac86fa90 Git commit d416bb131ee913454adcac6e973c28134da69801 by Qt Cherry-pick Bot (on behalf of Zbigniew Chyla) on 26/07/2026 at 11:16.. ohos: kill QOhosOptional use in platform theme files The QOhosOptional<T> alias for std::optional<T>, together with its makeQOhosOptional() and makeEmptyQOhosOptional() helpers, is being eliminated in favor of using std::optional directly. Replace every use in the platform theme files with plain std::optional. Where std::optional is the target type (a function return or a variable), use the underlying value directly instead of wrapping it, and return {} instead of std::nullopt. Drop the now-unused qohosplugincore.h include from the header and add explicit <optional> and <functional> includes: QOhosOptional was the only symbol used from qohosplugincore.h, and the std::function backing QOhosSupplier was previously pulled in through it. Task-number: QTBUG-147543 Change-Id: I31bf3d922e7117cf0549cf2daf07bf7d5b6bb903 Reviewed-by: Arkadiusz Zarębski <[email protected]> Reviewed-by: Liang Qi <[email protected]> (cherry picked from commit 2c3f4b12e8b904c8c03258a6bfc48cf8d13fab10) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/d416bb131ee913454adcac6e973c28134da69801 Git commit 88da996accf8a783a03bc1e76a5b8105f13a9bfa by Qt Cherry-pick Bot (on behalf of Zbigniew Chyla) on 26/07/2026 at 11:16.. ohos: kill QOhosOptional use in status bar files The QOhosOptional<T> alias for std::optional<T>, together with its makeQOhosOptional() and makeEmptyQOhosOptional() helpers, is being eliminated in favor of using std::optional directly. Replace every use in the status bar menu and system tray icon files with plain std::optional and add the <optional> include where no included header already provides one. Every wrapping site here stays an explicit std::optional rather than a bare value, because each sits in a context that requires it: a lambda with a deduced return type or a conditional expression. Task-number: QTBUG-147543 Change-Id: Ica43ff1b1eb4dd554d2482d8869793960f3dfec6 Reviewed-by: Arkadiusz Zarębski <[email protected]> Reviewed-by: Liang Qi <[email protected]> (cherry picked from commit d5bd744bfda15b12f9f26631d809cbac0299922e) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/88da996accf8a783a03bc1e76a5b8105f13a9bfa Git commit d99bfb224dce53badbff6be77756e5763351c058 by Qt Cherry-pick Bot (on behalf of Zbigniew Chyla) on 26/07/2026 at 11:16.. ohos: kill remaining QOhosOptional uses in plugin files The QOhosOptional<T> alias for std::optional<T>, together with its makeQOhosOptional() and makeEmptyQOhosOptional() helpers, is being eliminated in favor of using std::optional directly. Convert the remaining top-level plugin files: replace the alias and helpers with plain std::optional, and add <optional> includes where the type is used and the paired header does not already provide one. Where std::optional is the target type (a function return, an aggregate initializer, or a call argument), use the underlying value directly instead of wrapping it, and {} instead of std::nullopt; keep the explicit optional only where it is required, e.g. in conditional expressions. Drop the now-unused qohosplugincore.h include from the files where QOhosOptional was the only symbol taken from it. Task-number: QTBUG-147543 Change-Id: I18974a222abae4148889deec68261ca351d6569e Reviewed-by: Liang Qi <[email protected]> (cherry picked from commit 2abd933db0ffd7d60dab52cf6448b3631973510b) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/d99bfb224dce53badbff6be77756e5763351c058