High-performance rendering of 1 million+ images
-
Hi and welcome to devnet,
Are you thinking about something like the flow layout example ? If so, it can be tempting but the amount of images you are talking about would not make it practical because of the sheer amount of widgets required would be way too high.
You should consider using model view, whether using widget or QtQuick is something you should try yourself but the important point will be to not try to load all of your data at once. There's no sense in trying to keep in memory at any given time that many images. You should have a moving window on top of your image set that loads a reasonable amount of images that allows to show something on screen plus some to allow sliding at a reasonable speed.
Don't forget to also avoid trying to load full sized images. Thumbnails will be a way better use of your resources.
-
Thank you, I'm trying to use qt quick and Flow. But I ran into a problem with the optimized display:
- How to get the Flow element of the viewport?
- How to create delegat dynamically?
- Will the official add an optimized FlowView like GridView?
The above is from Google Translate (sorry)
-
- Why would you need that ? You define where the Flow is instantiated ?
- Do you mean different delegates or create them only when needed ?
- I don't understand that one

