This QML code causes the following error when run with Qt 5.15:
I suspect https://codereview.qt-project.org/c/qt/qtdeclarative/+/142887 as the culprit.
I could raise the version of the import, but then I can't run the program with anything before Qt 5.14.
|For Gerrit Dashboard: QTBUG-78713|
|274962,2||Ensure AnimatedImage currentFrame/onCurrentFrameChanged 2.0 compatibility||5.14||qt/qtdeclarative||Status: MERGED||+2||0|