Don't forgot us Qt5.13 and Qt5.12 people
David Jarvie
djarvie at kde.org
Mon May 18 00:02:24 BST 2020
On Sunday 17 May 2020 16:30:39 Allen Winter wrote:
> Today's changes in kalarm and akonadi-calendar-tools broke compile.
> I'm using Qt5.13
>
> /data/kde/src/5/kde/pim/kalarm/src/lib/spinbox2.cpp:681:21: error: ‘class
> QWheelEvent ’ has no member named ‘position’
> 681 | QPointF pt = e->position();
>
> | ^~~~~~~~
>
> /data/kde/src/5/kde/pim/kalarm/src/lib/spinbox2.cpp:686:66: error: ‘class
> QWheelEvent’ has no member named ‘globalPosition’; did you mean
> ‘globalPos’? 686 | QApplication::postEvent(mSpinbox, new
> QWheelEvent(pt, e->globalPosition(), e->pixelDelta(), e->angleDelta(),
> e->buttons(), e->modifiers(), e->phase(), e->inverted(), e->source()));
> | ^~~
> | ~~~
> | ~~~
> | ~~~
A fix has been committed. I wish that the Qt docs consistently documented which
version functions were introduced or deprecated in. It would help to avoid
this sort of issue.
--
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm
More information about the kde-pim
mailing list