Source: deepin-image-viewer Version: 5.0.0-1 Severity: important Tags: ftbfs fixed-upstream User: debian-qt-...@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
signature.asc
Description: PGP signature