8000 Add QCoroImageProvider by jbruechert · Pull Request #111 · qcoro/qcoro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add QCoroImageProvider #111

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

Merged
merged 1 commit into from
Aug 16, 2022
Merged

Add QCoroImageProvider #111

merged 1 commit into from
Aug 16, 2022

Conversation

jbruechert
Copy link
Contributor

Sorry for starting another pull request in parallel :)
I already had this code in a project of mine and think it might be useful to upstream.

@jbruechert jbruechert force-pushed the imageprovider branch 2 times, most recently from 2f36f6a to fa37e3f Compare August 15, 2022 22:45
Copy link
Collaborator
@danvratil danvratil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for upstreaming this! Looks OK, just two small nitpicks.

Also please update .github/workflows/generate-matrix.py and add qtdeclarative to "archives" field for both Qt5 and Qt6 maps (at the beginning of the file), that should make the pipelines pass.

If you are interested in writing a unit-test for the class as well, I'd appreciate it (you can do it in another PR), but it's not requirement (I'll write it later).

@danvratil
Copy link
Collaborator

The CI is failing on Linux because I forgot that the Docker images used in the CI don't contain the qtdeclarative module. I've rebuild the images, so the next run should succeed.

@danvratil
Copy link
Collaborator

Could you please rebase on current main? Afterwards I'll merge it :)

QCoro::ImageProvider is a coroutine-compatible wrapper around
QQuickAsyncImageProvier.

This commit introduces a new QCoro component, QCoroQuick.
@danvratil danvratil merged commit faf198e into qcoro:main Aug 16, 2022
@danvratil
Copy link
Collaborator

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants
0