[Pkg-deepin-devel] Bug#972676: dde-qt5integration: FTBFS with Qt 5.15: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined

Dmitry Shachnev mitya57 at debian.org
Sun Oct 25 10:37:22 GMT 2020


Control: tags -1 + pending

On Thu, Oct 22, 2020 at 01:55:09PM +0300, Dmitry Shachnev wrote:
> Dear Maintainer,
>
> dde-qt5integration fails to build with Qt 5.15, currently available in
> experimental.
>
> After rebuilding dde-qt-dbus-factory, dtkcore and libqtxdg, and building a
> fixed version of dtkwidget (see #972155), I get this error:
>
>   pushbuttonhelper.cpp: In member function ‘bool dstyle::Style::drawPushButtonFrame(QPainter*, const QRect&, const QBrush&, const QBrush&, const QColor&, const QWidget*) const’:
>   pushbuttonhelper.cpp:221:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
>     221 |     QPainterPath path;
>         |                  ^~~~
>   pushbuttonhelper.cpp:231:26: error: aggregate ‘QPainterPath rightHalf’ has incomplete type and cannot be defined
>     231 |             QPainterPath rightHalf;
>         |                          ^~~~~~~~~
>   pushbuttonhelper.cpp:235:26: error: aggregate ‘QPainterPath leftHalf’ has incomplete type and cannot be defined
>     235 |             QPainterPath leftHalf;
>         |                          ^~~~~~~~
>
> This is fixed upstream, see the linked pull request.

I have just uploaded the NMU fixing this to DELAYED/5.

The debdiff is attached.

This change is also available in qt-5.15 branch on my fork on salsa:
https://salsa.debian.org/mitya57/dde-qt5integration/-/commits/qt-5.15

(I couldn't make a merge request because there is no branch for unstable
version.)

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dde-qt5integration_5.0.0-2.1.diff
Type: text/x-diff
Size: 3060 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-deepin-devel/attachments/20201025/3306156e/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-deepin-devel/attachments/20201025/3306156e/attachment.sig>


More information about the Pkg-deepin-devel mailing list