Bug 389219

Summary: Master branch build failure with Qt 5.9.3
Product: [Plasma] Breeze Reporter: Rik Mills <rikmills>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: notmart
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rik Mills 2018-01-19 18:52:08 UTC
In Neon and Kubuntu CI with Qt 5.9.3 on master branch.

https://build.neon.kde.org/job/xenial_unstable_plasma_breeze_bin_amd64/186/console

17:55:15 /workspace/build/kstyle/breezestyle.cpp: In member function ‘virtual bool Breeze::Style::drawScrollBarSliderControl(const QStyleOption*, QPainter*, const QWidget*) const’:
17:55:15 /workspace/build/kstyle/breezestyle.cpp:5013:136: error: ‘const class QStyleOption’ has no member named ‘styleObject’
17:55:15 const bool widgetMouseOver( widget ? _animations->scrollBarEngine().isHovered( widget, QStyle::SC_ScrollBarGroove ) : option->styleObject->property("hover").toBool());
17:55:15 ^
17:55:15 kstyle/CMakeFiles/breeze.dir/build.make:910: recipe for target 'kstyle/CMakeFiles/breeze.dir/breezestyle.cpp.o' failed
Comment 1 Rik Mills 2018-01-20 13:34:22 UTC
I forgot we were still building the Qt4 style, so the fail is apparently in that.

Fixed with:

https://commits.kde.org/breeze/fc830e4710a9994a13911ac6cbc60ffda8f27715