Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725830 - 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
Summary: x11-themes/QGnomePlatform-0.6.1 w/ Qt 5.15.0: qgnomeplatformdecoration.cpp:20...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: qt-5.15
  Show dependency tree
 
Reported: 2020-05-28 07:29 UTC by Adam Jones
Modified: 2020-06-02 12:45 UTC (History)
2 users (show)

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


Attachments
emerge --info (einfo.txt,8.51 KB, text/plain)
2020-05-28 07:29 UTC, Adam Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Jones 2020-05-28 07:29:11 UTC
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;
      |                  ^~~~~~~~~~
Comment 1 Andreas Sturmlechner gentoo-dev 2020-05-28 08:07:03 UTC
Trivial missing include issue with >=Qt 5.15.0.
Comment 2 Adam Jones 2020-05-28 08:40:14 UTC
Appears to be fixed by this patch:

https://github.com/FedoraQt/QGnomePlatform/commit/c835c9e80cfadd62e01f16591721d2103d28a212.patch
Comment 3 Andreas Sturmlechner gentoo-dev 2020-05-31 08:40:09 UTC
Test-built the patch successfully w/ Qt 5.15.
Comment 4 Larry the Git Cow gentoo-dev 2020-05-31 12:42:35 UTC
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(+)