Summary: | x11-themes/QGnomePlatform-0.6.1 w/ Qt 5.15.0: qgnomeplatformdecoration.cpp:206:18: error: aggregate ‘QPainterPath borderRect’ has incomplete type and cannot be defined | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adam Jones <adam> |
Component: | Current packages | Assignee: | Pacho Ramos <pacho> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | phobosk, whissi |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=726764 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 726178 | ||
Attachments: | emerge --info |
Trivial missing include issue with >=Qt 5.15.0. Appears to be fixed by this patch: https://github.com/FedoraQt/QGnomePlatform/commit/c835c9e80cfadd62e01f16591721d2103d28a212.patch Test-built the patch successfully w/ Qt 5.15. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00f515c1c6f5d75ecc2b94351f0e133d128060cd commit 00f515c1c6f5d75ecc2b94351f0e133d128060cd Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2020-05-31 11:12:19 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2020-05-31 12:42:18 +0000 x11-themes/QGnomePlatform: Fix build with qt-5.15 Closes: https://bugs.gentoo.org/725830 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../QGnomePlatform/QGnomePlatform-0.6.1.ebuild | 2 ++ .../files/QGnomePlatform-0.6.1-qt5.15.patch | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) |
Created attachment 642294 [details] emerge --info Build fails with a series of errors of the form: qgnomeplatformdecoration.cpp: In member function ‘virtual void QGnomePlatformDec oration::paint(QPaintDevice*)’: qgnomeplatformdecoration.cpp:206:18: error: aggregate ‘QPainterPath borderRect’ has incomplete type and cannot be defined 206 | QPainterPath borderRect; | ^~~~~~~~~~ qgnomeplatformdecoration.cpp:215:18: error: aggregate ‘QPainterPath roundedRect’ has incomplete type and cannot be defined 215 | QPainterPath roundedRect; | ^~~~~~~~~~~ qgnomeplatformdecoration.cpp:226:18: error: aggregate ‘QPainterPath borderPath’ has incomplete type and cannot be defined 226 | QPainterPath borderPath; | ^~~~~~~~~~