https://github.com/M4rtinK/qqr.js
QML bindings for qr.js
https://github.com/M4rtinK/qqr.js
Last synced: 14 days ago
JSON representation
QML bindings for qr.js
- Host: GitHub
- URL: https://github.com/M4rtinK/qqr.js
- Owner: M4rtinK
- License: other
- Created: 2015-02-23T22:55:25.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T23:41:10.000Z (almost 11 years ago)
- Last Synced: 2024-06-16T04:51:02.572Z (over 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 36
- Watchers: 4
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-qt-qml - qqr.js - QML bindings for qr.js Javascript QR code library. (Images)
README
qqr.js
======
QML bindings for qr.js Javascript QR code library
To give it a try, just clone this repository and use qmlscene:
```Shell
$ qmlscene example.qml
```
Example QML code
================
```QML
import QtQuick 2.0
QRCode {
width : 320
height : 320
value : "http://www.modrana.org"
}
```
QRCode element properties
=========================
* ``background`` : background colour to be used (*string*, default: "white")
* ``foreground`` : foreground colour to be used (*string*, default: "black")
* ``level`` : ECC level to be applied (e.g. L, M, Q, H) (*string*, default: "L")
* ``value`` : value to be encoded in the generated QR code (*string*, default: "")
Dependencies
============
Qt >= 5.0.
Further reading
===============
For how qr.js works internally and for information about its advanced functionality
check the [qr.js project wbesite](http://neocotic.com/qr.js/).
License
=======
Just as qr.js, qqr.js is available under the [GPL v3 license]
(http://www.gnu.org/copyleft/gpl.html).