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

Kevin Kofler kevin.kofler at chello.at
Tue Apr 19 01:37:00 CEST 2022


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.

        Kevin



More information about the Development mailing list