Backed out
changeset f9f71cccb5c3 - Wuzzy is right, the license is incompatible.
I'd misread the wording on https://fontlibrary.org/en/font/symbola
The terms on the author's site prevent using it with almost all FOSS projects, and even prevent using it in a merge like this.
We'll just have to find some other font to improve coverage.
#ifndef PREVIEWIMAGEPROVIDER_H
#define PREVIEWIMAGEPROVIDER_H
#include <QPixmap>
#include <QQuickImageProvider>
#include <QSize>
class PreviewImageProvider : public QQuickImageProvider {
public:
PreviewImageProvider();
QPixmap requestPixmap(const QString &id, QSize *size,
const QSize &requestedSize);
void setImage(const QImage &preview);
private:
QPixmap m_px;
};
#endif // PREVIEWIMAGEPROVIDER_H