#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 10. Graphics and Font Libraries

- Prev

  Qpdf-10.6.2

- Next

  sassc-3.6.2

- Up
- Home

# qrencode-4.1.1

## Introduction to qrencode

Qrencode is a fast and compact library for encoding data in a QR Code symbol, a 2D symbology that can be scanned by handheld terminals such as a mobile phone with a CCD sensor.

This package is known to build and work properly using an LFS-11.1 platform.

### Package Information

- Download (HTTP): https://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.bz2

- Download MD5 sum: de7185bcab635a34730e1b73d4efa705

- Download size: 451 KB

- Estimated disk space required: 5.0 MB (with documentation, add 5 MB for tests)

- Estimated build time: less than 0.1 SBU, add 0.1 SBU for tests

### Qrencode Dependencies

#### Recommended

libpng-1.6.37

#### Optional

Doxygen-1.9.3 for generating documentation, and SDL2-2.0.20 for tests

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/qrencode

## Installation of qrencode

Install libqrencode by running the following commands:

    ./configure --prefix=/usr &&
    make

If you have installed Doxygen-1.9.3, you can build the documentation by issuing:

    doxygen

The tests must be run after installing the package.

Now, as the `root` user:

    make install

If you have built the optional documentation, install it as the `root` user:

    install -vdm 755 /usr/share/doc/qrencode-4.1.1 &&
    mv html/* /usr/share/doc/qrencode-4.1.1

To test the results, if you have passed the `--with-tests` option to configure, issue: make check.

## Command Explanations

`--with-tests`: This option allows building the test programs. It requires SDL2-2.0.20.

`--without-tools`: This option prevents building the qrencode executable, removing the need for libpng-1.6.37.

## Contents

Installed Program: qrencode
Installed Library: libqrencode.so
Installed Directory: /usr/share/doc/qrencode-4.1.1 (optional)

### Short Descriptions

qrencode | encodes input data in a QR Code and saves it as a PNG or EPS image
`libqrencode.so` | contains functions for encoding data in a QR code symbol

Last updated on

- Prev

  Qpdf-10.6.2

- Next

  sassc-3.6.2

- Up
- Home