Ralf Van Bogaertunread,
Apr 15, 2012, 3:39:11 AM4/15/12
Sorry to spam the list but I'm having many questions lately.
I'm working on a program that works with image files to make slideshows with.
I use a QListView to show thumbnails. The problem is speed.
To alleviate this, I need to create thumbnails for every image. Since these are small, I'd like to store them in an qslite database, if possible.
In the Qt docs, the following method is presented;
QBuffer buffer (&ba)
This would save the image as a PNG file.
But the problem is, I can't create an QByteArray since the class is not in lqt.
In some instances I can create QByteArrays, for example when converting from a QVariant.
Is it somehow possible to create a QByteArray object?