https://bugs.kde.org/show_bug.cgi?id=422434
Bug ID: 422434 Summary: compile error: pressurecurvewidget.cpp missing include Product: wacomtablet Version: 3.2.0 Platform: Slackware Packages OS: Linux Status: REPORTED Severity: major Priority: NOR Component: general Assignee: jazzv...@gmail.com Reporter: hpf...@psnarf.org Target Milestone: --- SUMMARY pressurecurvewidget.cpp missing "#include <QPainterPath>" wacomtablet-3.2.0/src/kcmodule/pressurecurvewidget.cpp STEPS TO REPRODUCE 1. g++ -o pressurecurvewidget pressurecurvewidget.cpp 2. add "#include <QPainterPath>" just after "#include <QPainter>" 3. no compile error OBSERVED RESULT Compile error: ‘QPainterPath curvePath’ has incomplete type and cannot be defined pressurecurvewidget.cpp:185 pressurecurvewidget.cpp:190 EXPECTED RESULT wacomtablet-3.2.0/src/kcmodule/pressurecurvewidget.cpp no compile error SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: n/a Qt Version: 5.15.0 ADDITIONAL INFORMATION Fix: add "#include <QPainterPath>" just after "#include <QPainter>" -- You are receiving this mail because: You are watching all bug changes.