Bug 389219 - Master branch build failure with Qt 5.9.3
Summary: Master branch build failure with Qt 5.9.3
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-19 18:52 UTC by Rik Mills
Modified: 2018-01-20 13:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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