fix: Fix build with Qt 6.10.2#726
Conversation
Qt 6.10.2 removed QTabBarPrivate::paintWithOffsets, causing build failures in DTabBar. Adjust tab button positioning logic to rely solely on dragOffset for Qt >= 6.10.2, while preserving the original behavior for older Qt versions. This aligns the implementation with the updated QTabBar internals and restores compatibility with Qt 6.10.2.
|
Hi @hillwoodroc. Thanks for your PR. I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, hillwoodroc The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Qt 6.10.2 removed QTabBarPrivate::paintWithOffsets, causing build failures in DTabBar.
Adjust tab button positioning logic to rely solely on dragOffset for Qt >= 6.10.2, while preserving the original behavior for older Qt versions.
This aligns the implementation with the updated QTabBar internals and restores compatibility with Qt 6.10.2.