Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 1.32 KB

README.md

File metadata and controls

62 lines (38 loc) · 1.32 KB

QRNote

A graphical standalone program to note some text and transform it to Qrcode for «smart»phone copy/paste

Animated GIF demonstration of QRNote

Compile and Run

To compile and run QRNote you will need Cargo. It can be compiled and run with following command :

$ cd qr-note
$ cargo run

Install

Installation also need cargo with install command and binary path :

$ cd qr-note
$ cargo install --path .

Usage (from slint template)

  1. Install Rust by following the Rust Getting Started Guide. Once this is done, you should have the rustc compiler and the cargo build system installed in your path.

  2. Install cargo-generate

cargo install cargo-generate

  1. Set up a sample project with this template
 https://github.com/slint-ui/slint-rust-template --name my-project cd
 my-project```

3. Build with cargo

``` cargo build ```

4. Run the application binary

``` cargo run ```

## Web assembly compilation

1. Install wasm :

```cargo install wasm-pack```

2. Compile QRNote

```wasm-pack build --release --target web```

3. Launch (doesn't works for the moment)

```python3 http.server```