Render QML without being visible, like a background task

拈花ヽ惹草 提交于 2020-01-06 05:26:06

问题


Suppose I have a map, and a few polygons. I want to render them and take a screenshot of each one of them. If the QQuickView is visible, thats easy. But, how could I achieve this, with the QQuickView not visible, like a background task?

Any ideas?

I`m using Qt 5.12.

来源:https://stackoverflow.com/questions/59503641/render-qml-without-being-visible-like-a-background-task

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!