When doing pip install PyQt5
it installs PyQt5 but its missing some binaries,
what I am really looking for is the Lottie animation lib that works with QML
I'm using windows 10 64bit I been just lost looking for it.
I have used python -m pip install aqtinstall
and ran the command to download the binaries but those binaries don't match the QT 5.15.2 that I have, even when I specify the version in aqtinstall.
if there are any examples of how to install the right version of PyQt5 to be able to run lottie animations thro QML please share.
EDIT:
Thanks to @eyllanesc and @mugiseyebrows,
i got referred to @eyllanesc answer: Implementing a Lottie JSON animation into PyQt5
Although it was for linux based systems. but the aqt installer was big help.
the slight change was using windows instead of linux in the command:
python -m aqt install 5.15.2 windows desktop win64_msvc2019_64 --outputdir -m qtlottie
And then you would copy the lottieqt folder
the same way @eyllanesc has Explained but then the Qt5Bodymovin.dll
is found in the bin folder
and You would also need to copy it into the bin folder inside the Qt5 directory.
And it works!
CodePudding user response:
Thanks to @eyllanesc and @mugiseyebrows,
i got referred to @eyllanesc answer: Implementing a Lottie JSON animation into PyQt5
Although it was for linux based systems. but the aqt installer was big help. the slight change was using windows instead of linux in the command: python -m aqt install 5.15.2 windows desktop win64_msvc2019_64 --outputdir -m qtlottie
And then you would copy the lottieqt folder the same way @eyllanesc has Explained but then the Qt5Bodymovin.dll is found in the bin folder and You would also need to copy it into the bin folder inside the Qt5 directory.
And it works!