Hi guys,
I'm currently trying to move an existing application I have that is based on QWidgets over to QML. I was hesitant at first, but QML does work rather well for this app. However, I do have one slight "problem" or drawback at the moment:
In my application I load a bunch of images as thumbnails in a ListView (a bunch of Image elements aligned in a Row). I really like the ImageProvider feature of QML, it's really handy! However, it seems to be a little slower than what I had before in pure C++/QWidgets, even though the ImageProvider I'm using makes use of almost exactly the same code I used before to load the thumbnails (it's basically a simple scaling, database caching, returning).
So, my question is this: Does anybody know if it's possible to load multiple images simultaneously? At the moment, it loads one image at a time. However, the slow part of the ImageProvider are (I guess) the scaling and caching. Since pretty much all computers nowadays have several CPU Cores available, I'm thinking, that loading 2/3/4 images simultaneously would be significantly faster than one at a time...
Thanks guys!
huilui
Bookmarks