[Development] abi breakage for qtwebengine libraries in 5.9

Lars Knoll lars.knoll at qt.io
Mon May 8 08:38:33 CEST 2017


why can't we just keep these symbols around without exporting them through a header file and make them simply forward to the global new/delete operators? If we don't export them in a header at least newly compiled code would stop using them, and old code would continue working like that.


> On 5 May 2017, at 15:43, Allan Sandfeld Jensen <kde at carewolf.com> wrote:
> On Friday 05 May 2017, Michal Klocek wrote:
>> Hi
>> With 5.8.0 we released web engine libs which export operator new , new[]
>> , delete, delete[] globally, unfortunately the issue was not spotted in
>> time.
>> https://bugreports.qt.io/browse/QTBUG-60565
>> With 5.9.0 we plan to correct the issue, unfortunately everything which
>> was compiled against qtwebengine 5.8.0 will be broken when used with
>> 5.9.0 libraries due to missing symbols and needs to be recompiled.
> Note that this primarily affects Linux, but since BC is mainly important for 
> Linux that doesn't help much.
> The issue trigger because Qt exports symbols with the Qt_5 tag, so 
> applications that used the overridden new/delete operators will be looking not 
> just for new and delete, but new and delete with the Qt_5 tag.
> Best regards
> `Allan
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

More information about the Development mailing list