Skip to content

alex-spataru/Qt-QrCodeGenerator

Repository files navigation

Qt QR Code Generator Library

Qt QR Code Generator is a simple C++ class that uses the qrcodegen library to generate QR codes from QStrings in Qt applications.

Screenshot

Usage

  1. Copy the Qt-QrCodeGenerator folder in your lib folder.
  2. Include the Qt-QrCodeGenerator project include (pri) file using the include() qmake function.
  3. Use the QrCodeGenerator class in your code:
#include <QrCodeGenerator>

QrCodeGenerator generator;
QString data = "https://www.example.com";
QImage qrCodeImage = generator.generateQr(data);
  1. That's all! Check the example project as a reference for your project if needed.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A simple Qt library that generates QR codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •