Skip to content

Commit

Permalink
added the qml online example
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyTheCo committed Sep 11, 2022
1 parent 6e9b4c6 commit 48c5ecd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion QtQrGen/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# QtQrGen

This code produce a library with a custom ImageProvider of Qt. The image provider print a QRCODE from a string.
CMake produce the target 'QtQrGen' so one can link to this library like
You can play with the resulting ImageProvider on [this page](https://eddytheco.github.io/qmlonline/wasm/index.html?example_url=https://raw.githubusercontent.com/EddyTheCo/qmlonline/main/w asm/examples/qt_qr_gen). An example on how to add the ImageProvider to your project can be found on [this repository](https://github.com/EddyTheCo/qmlonline) (Only the parts enclosed in the USE_QtQrGen macros).

In general CMake produce the target 'QtQrGen' so one can link to this library like
```
target_link_libraries(<target> <PRIVATE|PUBLIC|INTERFACE> QtQrGen)
```
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# qrCode

This repository is intended to provide a library for working with QR codes from c++. The main purpose is to exploit modern CMake and facilitate reuse and develop.
The GUI part will be based on Qt libraries and QML;
The GUI part will be based on Qt libraries and QML. Examples of this library compiled for WebAssembly can be found on:
- [QtQrGen](https://eddytheco.github.io/qmlonline/wasm/index.html?example_url=https://raw.githubusercontent.com/EddyTheCo/qmlonline/main/wasm/examples/qt_qr_gen)

## Adding the libraries to your CMake project will be as easy as

Expand Down

0 comments on commit 48c5ecd

Please sign in to comment.