mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
chore:add qr code support for login
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
8
libraries/qt-qrcodegenerator/qr.h
Normal file
8
libraries/qt-qrcodegenerator/qr.h
Normal file
@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <QColor>
|
||||
#include <QPainter>
|
||||
#include <QSize>
|
||||
|
||||
// https://stackoverflow.com/questions/21400254/how-to-draw-a-qr-code-with-qt-in-native-c-c
|
||||
void paintQR(QPainter& painter, const QSize sz, const QString& data, QColor fg);
|
Reference in New Issue
Block a user