Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0 Beta1
-
None
-
ad922bbac1d65ff044c63160c73324fa27f44793
Description
As part of print: Clamp margins entered by the user in the page setup dialog (514317) ยท Gerrit Code Review, bool QPageLayout::setBottomMargin(qreal bottomMargin) was expanded to take a second OutOfBoundsPolicy argument.
To preserve ABI, all changed methods were added to src/gui/compat/removed_api.cpp:
bool QPageLayout::setMargins(const QMarginsF &margins) { return setMargins(margins, OutOfBoundsPolicy::Reject); } bool QPageLayout::setLeftMargin(qreal leftMargin) { return setLeftMargin(leftMargin, OutOfBoundsPolicy::Reject); } bool QPageLayout::setRightMargin(qreal rightMargin) { return setRightMargin(rightMargin, OutOfBoundsPolicy::Reject); } bool QPageLayout::setTopMargin(qreal topMargin) { return setTopMargin(topMargin, OutOfBoundsPolicy::Reject); }
...except that setBottomMargin is not there, causing:
undefined symbol: _ZN11QPageLayout15setBottomMarginEd, version Qt_6
Attachments
Issue Links
- duplicates
-
QTBUG-126374 ABI break in 6.8 beta 1: QPageLayout::setBottomMargin(double)
- Closed