Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse ExtrasData with QT #12

Open
karlicoss opened this issue Jul 5, 2020 · 1 comment
Open

parse ExtrasData with QT #12

karlicoss opened this issue Jul 5, 2020 · 1 comment

Comments

@karlicoss
Copy link
Owner

Here @geek1011 mentioned that they seem to be serialized as QT structures, so hopefully that means the code can be much less fragile by simply following qt spec.

@pgaskin
Copy link

pgaskin commented Jul 5, 2020

Also note that most of the code in my Go QDataStream reader implementation is boilerplate for Go's typing, so doing the same thing in Python should be quite a bit shorter.

If you are fine with a dependency on Qt, you can use PyQt to initialize a QByteArray with the blob, initialize a QDataStream reader on that, and read the QVariantMap from that. From there, you can parse each entry as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants