Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 727410

Summary: media-libs/qtav-1.12.0-r2 w/ Qt 5.15: src/QtAV/FilterContext.h:75:18: error: field ‘clip_path’ has incomplete type ‘QPainterPath’
Product: Gentoo Linux Reporter: Daniel Rammelt <d.rammelt>
Component: Current packagesAssignee: Johannes Huber (RETIRED) <johu>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/wang-bin/QtAV/issues/1309
https://github.com/gentoo/gentoo/pull/16361
Whiteboard: fixed in upstream commit 5263d9d9ee29303a919d33d52b15acda554226c5
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 726178    
Attachments: Fix includes for qtav

Description Daniel Rammelt 2020-06-07 10:12:19 UTC
Created attachment 643814 [details, diff]
Fix includes for qtav

Compile fails with QT5.15
---

/var/tmp/portage/media-libs/qtav-1.12.0-r2/work/QtAV-1.12.0/src/QtAV/FilterContext.h:75:18: error: field ‘clip_path’ has incomplete type ‘QPainterPath’
   75 |     QPainterPath clip_path;
      |                  ^~~~~~~~~
In file included from /usr/include/qt5/QtGui/qtransform.h:43,
                 from /usr/include/qt5/QtGui/qimage.h:48,
                 from /usr/include/qt5/QtGui/qpixmap.h:49,
                 from /usr/include/qt5/QtGui/qpainter.h:48,
                 from /usr/include/qt5/QtGui/QPainter:1,
                 from /var/tmp/portage/media-libs/qtav-1.12.0-r2/work/QtAV-1.12.0/src/QtAV/FilterContext.h:28,
                 from /var/tmp/portage/media-libs/qtav-1.12.0-r2/work/QtAV-1.12.0/src/QtAV/Filter.h:27,
                 from /var/tmp/portage/media-libs/qtav-1.12.0-r2/work/QtAV-1.12.0/src/AVThread.cpp:28:
/usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
   54 | class QPainterPath;

---
Fixed upstream with patch

https://github.com/wang-bin/QtAV/commit/5263d9d9ee29303a919d33d52b15acda554226c5
Comment 1 Andreas Sturmlechner gentoo-dev 2020-06-07 11:09:38 UTC
Thanks for your report!

Please always include a full build.log.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-22 18:32:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae5836a1f3059809069c07510c3ed960492accfe

commit ae5836a1f3059809069c07510c3ed960492accfe
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-06-21 17:28:20 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-22 18:31:26 +0000

    media-libs/qtav: Fix build with Qt 5.15
    
    Reported-by: Daniel Rammelt <d.rammelt@icloud.com>
    Closes: https://bugs.gentoo.org/727410
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/qtav/files/qtav-1.12.0-qt5.15.patch | 22 ++++++++++++++++++++++
 media-libs/qtav/qtav-1.12.0-r2.ebuild          |  1 +
 2 files changed, 23 insertions(+)