Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727408 - kde-misc/wacomtablet-3.2.0: src/kcmodule/pressurecurvewidget.cpp:185:18: error: aggregate ‘QPainterPath curvePath’ has incomplete type and cannot be defined
Summary: kde-misc/wacomtablet-3.2.0: src/kcmodule/pressurecurvewidget.cpp:185:18: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-5.15
  Show dependency tree
 
Reported: 2020-06-07 09:34 UTC by Daniel Rammelt
Modified: 2020-06-07 09:45 UTC (History)
0 users

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


Attachments
Fix QPainterPath include (fix-include.patch,469 bytes, patch)
2020-06-07 09:34 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 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(+)