[Development] Linker script / symbols versions for private entries in Qt 6, regression from Qt 5?

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Tue Apr 19 13:54:02 CEST 2022


On Mon, 18 Apr 2022 at 20:38, Kevin Kofler via Development
<development at qt-project.org> wrote:
> Lisandro Damián Nicanor Pérez Meyer wrote:
> > Sorry, that should have been
> >
> > _ZN10QTableViewC2ER17QTableViewPrivateP7QWidget at Qt_6_PRIVATE_API
> That should really be
> _ZN10QTableViewC2ER17QTableViewPrivateP7QWidget at Qt_6.3.0_PRIVATE_API
> (or whatever exact version you are building), as in the openSUSE patch to Qt
> 5 that Fedora and some other distributions are also carrying.
> The point of those private APIs is that they change at every new version, so
> you want to require rebuilding stuff built with private APIs of the wrong
> version. If the symbol versioning does not ensure that, it is essentially
> useless.

Oh, on Qt 5 we did get the same net result just by knowing which
symbols are private. I'll take a look at the OpenSuse patch, thanks
for the pointer!

Lisandro Damián Nicanor Pérez Meyer

More information about the Development mailing list