On 29 Nov 2026, at 23:41, Giuseppe D'Angelo via Development <[email protected]> wrote:
Hi, Il 28/11/26 07:13, Thiago Macieira ha scritto: On Friday, 27 November 2026 05:17:47 Pacific Standard Time Giuseppe D'Angelo via Development wrote: I guess the question is, how did the qt5/6.12(.1) branch integrate with a failing tst_bic (i.e. without the cherry pick of https://codereview.qt-project.org/c/qt/qtbase/+/789816 )? The BIC tables aren't recreated at every release. Only at minor release time. 6.12.1 is compatible with 6.12.0. The problem is that code compiled against 6.12.1 won't be compatible against 6.12.2 because the virtual override was reverted. I'm not sure I follow, 1) Doesn't adding the virtual break "ABI behavior" against 6.12.0? a QMenu-derived subclass that overrode the virtual and called the QMenu method, compiled against 6.12.0, skips calling the new reimplementation when running against 6.12.1, doesn't it? As I understand the situation: - if we remove the virtual override for 6.12.2, then code built against 6.12.1 and explicitly calling QMenu::resizeEvent will experience a dynamic link-time error when running against 6.12.2 - if we leave the virtual override in, then we have to make sure that it not being called is not harmful (ie. other code doesn’t rely on its side effects) That is done by moving the implementation into QMenu::event, but leaving an empty resizeEvent() override in place. https://codereview.qt-project.org/c/qt/qtbase/+/789816 moves the implementation to the event() override, and removes the resizeEvent(). Leaving the resizeEvent() as empty in would fix the link-time problem when running a 6.12.1-compiled binary with 6.12.2. Whether resizeEvent() has to remain empty for the rest of Qt 6 depends on the code that might need to be added. Code that is opt-in (i.e. only needed to implement support for some new property that we don’t have yet, so code not recompiled won’t use that anyway) is fine. Volker
-- Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
