libqrencode-4.1.1

#### Beyond Linux® From Scratch (System V Edition) - Version r13.1-84

### Chapter 10. Graphics and Font Libraries

- Prev

  libpng-1.6.58

- Next

  libraw-0.22.2

- Up
- Home

# libqrencode-4.1.1

## Introduction to libqrencode

The libqrencode package provides 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.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://github.com/fukuchi/libqrencode/archive/v4.1.1/libqrencode-4.1.1.tar.gz

- Download MD5 sum: 486f879d1638d3fb58a4a5d45a88c600

- Download size: 188 KB

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

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

### libqrencode Dependencies

#### Recommended

libpng-1.6.58

#### Optional

Doxygen-1.18.0 for generating documentation, and sdl2-compat-2.32.72 for tests

## Installation of libqrencode

Install libqrencode by running the following commands:

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

If you have installed Doxygen-1.18.0, 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/libqrencode-4.1.1 &&
    mv html/*        /usr/share/doc/libqrencode-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-compat-2.32.72.

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

## 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

- Prev

  libpng-1.6.58

- Next

  libraw-0.22.2

- Up
- Home