Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727410 - 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’
Summary: media-libs/qtav-1.12.0-r2 w/ Qt 5.15: src/QtAV/FilterContext.h:75:18: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johannes Huber (RETIRED)
URL:
Whiteboard: fixed in upstream commit 5263d9d9ee29...
Keywords: PATCH, PullRequest
Depends on:
Blocks: qt-5.15
  Show dependency tree
 
Reported: 2020-06-07 10:12 UTC by Daniel Rammelt
Modified: 2020-06-22 18:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix includes for qtav (fix-qt5.patch,349 bytes, patch)
2020-06-07 10:12 UTC, Daniel Rammelt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)