[Pkg-deepin-devel] Bug#972677: deepin-image-viewer: FTBFS with Qt 5.15: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
Dmitry Shachnev
mitya57 at debian.org
Thu Oct 22 12:05:20 BST 2020
Source: deepin-image-viewer
Version: 5.0.0-1
Severity: important
Tags: ftbfs fixed-upstream
User: debian-qt-kde at lists.debian.org
Usertags: qt5.15
Forwarded: https://github.com/linuxdeepin/deepin-image-viewer/commit/b11d7cbdcdd99c82
Control: block 972278 by -1
Dear Maintainer,
deepin-image-viewer fails to build with Qt 5.15, currently available in
experimental.
After rebuilding dde-qt-dbus-factory and libqtxdg, and building a fixed
version of dtkwidget (see #972155), I get this error:
widgets/popupmenustyle.cpp: In member function ‘virtual void PopupMenuStyle::drawPrimitive(QStyle::PrimitiveElement, const QStyleOption*, QPainter*, const QWidget*) const’:
widgets/popupmenustyle.cpp:117:22: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
117 | QPainterPath path;
| ^~~~
widgets/popupmenustyle.cpp:133:13: error: ‘QPainterPathStroker’ was not declared in this scope; did you mean ‘QPainterPath’?
133 | QPainterPathStroker stroker;
| ^~~~~~~~~~~~~~~~~~~
| QPainterPath
widgets/popupmenustyle.cpp:134:13: error: ‘stroker’ was not declared in this scope; did you mean ‘strtok_r’?
134 | stroker.setWidth(FRAME_BORDER_WIDTH);
| ^~~~~~~
| strtok_r
widgets/popupmenustyle.cpp:136:26: error: variable ‘QPainterPath borderPath’ has initializer but incomplete type
136 | QPainterPath borderPath = stroker.createStroke(path);
| ^~~~~~~~~~
widgets/thumbnaillistview.cpp: In member function ‘virtual void ThumbnailListView::paintEvent(QPaintEvent*)’:
widgets/thumbnaillistview.cpp:301:18: error: aggregate ‘QPainterPath bp’ has incomplete type and cannot be defined
301 | QPainterPath bp;
| ^~
This is fixed upstream, see the linked commit.
--
Dmitry Shachnev
-------------- 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/20201022/3ad9a617/attachment.sig>
More information about the Pkg-deepin-devel
mailing list