I reimplemented QQuickPaintedItem in C++ in order to use it in QML for displaying database blob images. Because while reading the data from sql database I convert the blob t