Quote Originally Posted by MarkoSan View Post
Well, class is publicly inherited from QQuickImageProvider:
Qt Code:
  1. class UePeopleModel : public QSqlQueryModel, QQuickImageProvider
To copy to clipboard, switch view to plain text mode 
Nope. Unless your code looks different in reality, this is a private inheritance

Quote Originally Posted by MarkoSan View Post
I've upgraded function data(), is now ok:
Nope, see my last comment.

Quote Originally Posted by MarkoSan View Post
But what do I have to put inside method UePeopleModel::image?
You get the BLOB from the base class for the given row and then load it into a QImage.
If the BLOB is data in a format known to Qt, then you can probably use QImage::loadFromData().

Cheers,
_