prison Prison barcode library

prison is a Qt-based barcode abstraction layer/library and provides uniform access to generation of barcodes with data.


prison has a prison::AbstractBarcode, which is the base class for the actual barcode generators, currently prison::QRCodeBarcode and prison::DataMatrixBarcode is the two implemented barcode generators.

prison currently ships a BarcodeWidget, which is a QWidget with a barcode painted upon, as well as a BarcodeItem, which is a QGraphicsItem with a barcode painted upon.

Supported Barcode types

There is basically two types of barcodes:

  • barcodes that carries the data
  • barcodes that carries a lookup number, and requires a specific server to look up the actual data.

prison isn't as such designed for the latter, it will probably work, but patches implementing barcode support for such barcodes will not be accepted. A example is EZCode.

prison is currently using libdmtx for generation of DataMatrix barcodes

prison is currently using libqrencode for generation of QRCode barcodes

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Jan 26 2022 22:47:48 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.