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

Bug 727408

Summary: kde-misc/wacomtablet-3.2.0: src/kcmodule/pressurecurvewidget.cpp:185:18: error: aggregate ‘QPainterPath curvePath’ has incomplete type and cannot be defined
Product: Gentoo Linux Reporter: Daniel Rammelt <d.rammelt>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 726178    
Attachments: Fix QPainterPath include

Description Daniel Rammelt 2020-06-07 09:34:02 UTC
Created attachment 643810 [details, diff]
Fix QPainterPath include

Build fails with the following due to incorrect includes.
---

/var/tmp/portage/kde-misc/wacomtablet-3.2.0/work/wacomtablet-3.2.0/src/kcmodule/pressurecurvewidget.cpp:185:18: error: aggregate ‘QPainterPath curvePath’ has incomplete type and cannot be defined
  185 |     QPainterPath curvePath;
      |                  ^~~~~~~~~
/var/tmp/portage/kde-misc/wacomtablet-3.2.0/work/wacomtablet-3.2.0/src/kcmodule/pressurecurvewidget.cpp:190:42: error: variable ‘QPainterPath areaBelowCurve’ has initializer but incomplete type
  190 |     QPainterPath areaBelowCurve(curvePath);
      |                                          ^
/var/tmp/portage/kde-misc/wacomtablet-3.2.0/work/wacomtablet-3.2.0/src/kcmodule/pressurecurvewidget.cpp:194:18: error: aggregate ‘QPainterPath subtract’ has incomplete type and cannot be defined
  194 |     QPainterPath subtract;

---
Fixed with attached patch.
Comment 2 Andreas Sturmlechner gentoo-dev 2020-06-07 09:40:43 UTC
Please always include full build.log.

Thanks for your report!
Comment 3 Larry the Git Cow gentoo-dev 2020-06-07 09:45:52 UTC
The bug has been closed via the following commit(s):

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

commit 5bdf8bf176785809e41ff686a6a90b3a5a7e8037
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-06-07 09:45:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-07 09:45:41 +0000

    kde-misc/wacomtablet: Fix build with Qt 5.15
    
    Reported-by: Daniel Rammelt <d.rammelt@icloud.com>
    Closes: https://bugs.gentoo.org/727408
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/wacomtablet-3.2.0-qt-5.15.patch          | 24 ++++++++++++++++++++++
 kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild      |  2 ++
 2 files changed, 26 insertions(+)