In principle, the integration of Base64 in Qt works very well with e.g.:
QImage icon_data = QImage::fromData(QByteArray::fro