Bug#802710: musescore: Embeds Qt5's private headers without putting them in a namespace

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Fri Oct 23 14:43:21 UTC 2015


On Friday 23 October 2015 15:53:37 Sebastian Ramacher wrote:
> Hi
[snip]
> > By building this header without a namespace the symbols that it generates
> > matchs the symbols of qtbase's private stuff, so unnecesarily being part
> > of transitions like this.
> The xmlstream stuff is not the problem. They are not unresolved symbols and
> do not cause a dependency on qtbase-abi-5-5-1. They probably clash with the
> symbols from Qt, but that's easy to fix with a namespace or renaming the
> copy of QXmlUtils.
> 
> Looking at the output of dpkg-shlibdeps with -v -v shows the actual problem:
> |  Looking up symbol
> |  _ZN12QPaintEngineC2ER19QPaintEnginePrivate6QFlagsINS_18PaintEngineFeatur
> |  eEE at Base Found in symbols file of libQt5Gui.so.5 (minver: 5.0.2, dep:
> |  libqt5gui5 #MINVER#, qtbase-abi-5-5-1)
> This might be caused by mscore/paintengine_p.h and mscore/svgenerator.*
> where the QPaintEngine and QPaintEnginePrivate are used.

Thanks a lot for the head up Sebastian :)

Indeed that seems to be the cause, and using a namespace or renaming the 
classes should fix it.

Or avoiding using Qt's internal at all, of course.

-- 
http://xkcd.com/150/
Personas como ésta no se encuentran todos los días. Y cuando uno las
encuentra, suelen no estar disponibles.
Si encontrás una, no la pierdas.

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20151023/731cacd8/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list