save qrcode to file

This commit is contained in:
MoroccanMalinois
2017-01-23 04:15:49 +00:00
parent 6d73fba14c
commit 1d7a1f6d53
5 changed files with 51 additions and 1 deletions

View File

@@ -7,5 +7,6 @@ public:
QRCodeImageProvider(): QQuickImageProvider(QQuickImageProvider::Image) {}
QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize);
static QImage genQrImage(const QString &id, QSize *size);
};