[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 'dev'. Changed from f48dca7a75c54e55d679200ec15fe8d4512c2626 to 2abd933db0ffd7d60dab52cf6448b3631973510b 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 bfb3be13ffbe9c6037dd58b4caa29cd10b5837de by Marc Mutz on 25/07/2026 at 11:51.. [docs] QSet: add missing doc for insert(T&&) Amends 734c8aa9d904e81119b54d4311a2ec7161ee9b90 (6.1), which added the function, but not the docs. Pick-to: 6.12 6.11 6.8 Change-Id: Idfb2ac494830e341b6efcfc63dcfa882280666d8 Reviewed-by: Thiago Macieira <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/bfb3be13ffbe9c6037dd58b4caa29cd10b5837de Git commit 943e10c3dbbcedaf411ec1d54f59d3618fd6cfbf by Marc Mutz on 25/07/2026 at 11:51.. QSet: add missing insert(cit, T&&) overload Amends 734c8aa9d904e81119b54d4311a2ec7161ee9b90 (6.1), which added the insert(T&&) overload, but not the with-hint version (whose lvalue overload had been merged only a day before, so divergent branches are likely the culprit here). Found in API-review. [ChangeLog][QtCore][QSet] Added insert(const_iterator, T&&) overload. Don't pick futher than 6.12, because this potentially changes the meaning of T t; set.insert(set.begin(), std::move(t)); // didn't move before, now does use(t); (which is a bug, but we don't need to exploit it specially) Pick-to: 6.12 Change-Id: I05e50b2dcbb10247df2771c891e2d9cc15cfd6f5 Reviewed-by: Thiago Macieira <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/943e10c3dbbcedaf411ec1d54f59d3618fd6cfbf Git commit 2dfe03cce6f513161c60600bac9127e119f9850f by Zbigniew Chyla on 25/07/2026 at 16:50.. 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 Pick-to: 6.12 Change-Id: Icb987eaaab54223bbfc3cd9fc45a6eaae47e7b31 Reviewed-by: Liang Qi <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/2dfe03cce6f513161c60600bac9127e119f9850f Git commit ec3cbd914f1f16cd1e4c24871343004433bc75bf by Zbigniew Chyla on 25/07/2026 at 16:50.. 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 Pick-to: 6.12 Change-Id: If89130fef3f611c77fe51b85ad03f774a889d696 Reviewed-by: Liang Qi <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/ec3cbd914f1f16cd1e4c24871343004433bc75bf Git commit 2c3f4b12e8b904c8c03258a6bfc48cf8d13fab10 by Zbigniew Chyla on 25/07/2026 at 16:50.. 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 Pick-to: 6.12 Change-Id: I31bf3d922e7117cf0549cf2daf07bf7d5b6bb903 Reviewed-by: Arkadiusz Zarębski <[email protected]> Reviewed-by: Liang Qi <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/2c3f4b12e8b904c8c03258a6bfc48cf8d13fab10 Git commit d5bd744bfda15b12f9f26631d809cbac0299922e by Zbigniew Chyla on 25/07/2026 at 16:50.. 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 Pick-to: 6.12 Change-Id: Ica43ff1b1eb4dd554d2482d8869793960f3dfec6 Reviewed-by: Arkadiusz Zarębski <[email protected]> Reviewed-by: Liang Qi <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/d5bd744bfda15b12f9f26631d809cbac0299922e Git commit 2abd933db0ffd7d60dab52cf6448b3631973510b by Zbigniew Chyla on 25/07/2026 at 16:50.. 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 Pick-to: 6.12 Change-Id: I18974a222abae4148889deec68261ca351d6569e Reviewed-by: Liang Qi <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/2abd933db0ffd7d60dab52cf6448b3631973510b