D26320: endl is Qt:: namespaced in qt5.15. Port to \n and flush when QTextStream is not on a QFile

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Wed Jan 1 23:24:25 GMT 2020


kossebau added a comment.


  @mlaurent Hm, is there a chance ABI got broken by that respective code in Qt 5.15 when it comes to the non-Qt-namespaced variants of the methods? Unless I misread, those deprecated ones are now in the QTextStreamFunctions namespace. And which might be source compatible, due to the `using namespace QTextStreamFunctions;` in the header, but does that help with the namespace being reflected in the exported symbols?
  
  Can you do some `nm  -gDC /usr/lib64/libQt5Core.so.5.y.z | grep endl` (with y.z matching the actual numbers of the Qt 5.15 libs you have) and tell what exported symbols there are. by the example of `endl`?

REPOSITORY
  R269 BluezQt

REVISION DETAIL
  https://phabricator.kde.org/D26320

To: mlaurent, dfaure
Cc: kossebau, apol, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200101/ac6cbb83/attachment.html>


More information about the Kde-frameworks-devel mailing list