May be - then this is a bug in Qt for Android. Right now I found another bug - 
QSound::play() in Android stops playing WAV after several times if playing fast.

>Вторник, 10 января 2017, 21:56 +03:00 от "Jason H" < jh...@gmx.com >:
>
>Well android wasn't around in 4.1 days... it seems the Android drawable system 
>is running the animation, not Qt. 
> 
>Sent:  Tuesday, January 10, 2017 at 12:55 PM
>From:  "Serge K via Interest" < interest@qt-project.org >
>To:  interest < interest@qt-project.org >
>Subject:  Re: [Interest] Needed working stop/start for animated SVG
>
>SVG animation appeared first in Qt 4.1. I used it in Qt 5.
>
>Just needed stop and start timer with two methods. WHY THIS WAS NOT DONE 
>BEFORE??? IN FIRST 4.1 RELEASE? :-(((
>  Вторник, 10 января 2017, 20:41 +03:00 от Konstantin Tokarev < 
>annu...@yandex.ru >:
>> 
>>
>>
>>10.01.2017, 20:37, "Serge K via Interest" < interest@qt-project.org >:
>>> I created widget with animated SVG for my projects. It starts after loading 
>>> if signal svg->repaintNeeded() is connected to update() of my widget. To 
>>> stop and restart it I found a hack - disconnect this signal and reload SVG 
>>> image. In Windows and Linux this stops animation. Stupid but working. But 
>>> now I use this widget for project on Andriod (using QML is not the way, QML 
>>> is too weak and lame for me). But I cannot stop SVG animation on Android. 
>>> It runs always. It does not depend from any connections, framerate, 
>>> reloading, so on. Of course I can use another hack - to stop animation I 
>>> can load non-animated image and to start I can load animated again.
>>>
>>> BUT... This looks too much "micro$oftish" and stupid. NOT A Qt WAY. And 
>>> with this hack animation won't stop in it's "current" position - it will 
>>> always start from beginning. I do not need this.
>>>
>>> Of course I could patch Qt code and rewrite QSvgRenderer class. I could add 
>>> start() and stop() functions to control internal d->timer - it emits ticks 
>>> for animation frames. BUT WHY THIS WAS NOT DONE BEFORE??? :-(((
>>
>>Because you haven't done it
>>
>>>
>>> --
>>> Serge K ,
>>>
>>> _______________________________________________
>>> Interest mailing list
>>>  Interest@qt-project.org
>>>  http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>>--
>>Regards,
>>Konstantin
>_______________________________________________ Interest mailing list  
>Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest


----------------------------------------------------------------------
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to