Zint Barcode Generator and Zint Barcode Studio User Manual

2. Installing Zint

2.1 Linux

The easiest way to configure compilation is to take advantage of the CMake utilities. You will need to install CMake and libpng first. Note that you will need both libpng and libpng-devel packages. If you want to take advantage of Zint Barcode Studio you will also need the Qt libraries pre-installed.

Once you have fulfilled these requirements unzip the source code tarball and follow these steps in the top directory:

mkdir build
                cd build
                cmake ..
                make
                make install

The command line program can be accessed by typing

zint {options} -d {data}

Notice that the data needs to be entered after all other options. Any options given after the data will be ignored. The GUI can be accessed by typing

zint-qt

To test that the installation has been successful a shell script is included in the /frontend folder. To run the test type

./test.sh

This should create numerous files showing the many modes of operation which are available from Zint.

2.2 Microsoft Windows

For Microsoft Windows, Zint is distributed as a binary executable. Simply download the ZIP file, then right-click on the ZIP file and "Extract All". A new folder will be created within which are two binary files:

  • qtZint.exe - Zint Barcode Studio
  • zint.exe - Command Line Interface

For fresh releases you will get a warning message from Microsoft Defender SmartScreen that this is an "unrecognised app". This happens because Zint is a free and open-source software project with no advertising and hence no income, meaning we are not able to afford the $664 per year to have the application digitially signed by Microsoft.

2.3 Apple macOS

Zint can be installed using Homebrew. To install homebrew input the following line into the MacOS terminal
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Once homebrew is installed use the following command to install Zint.
brew install zint

2.4 Zint TCL backend

The TCL backend may be build using the provided TEA build on Linux, Windows, macOS and Android. For Windows, a MS-VC6 makefile is also available.