Update of bug #25341 (project freeciv):
Status: In Progress => Ready For Test
_______________________________________________________
Follow-up Comment #1:
Attached a minimal patch which removes the 'source' argument from QWheelEvent
constructors, restoring ability to compile with Qt 5.2(.1).
The Qt client itself doesn't seem to use the 'source' information, but maybe
it passes the events on to built-in widgets which do. So the result might be
slightly wrong for new Qt installations.
There's probably a better solution that involves copying and modifying the
object rather than constructing a new one. This would be less
version-dependent (for instance there's an 'inverted' property added in 5.7,
and we still use 'phase' which imposes a minimum of 5.2).
If anyone has a better patch, feel free to take over this ticket. Otherwise
I'll be committing this one soon, as the issue is in my way.
(file #29517)
_______________________________________________________
Additional Item Attachment:
File name: trunk-S2_6-qtwheel.patch Size:2 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?25341>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev