gLabels Linux Build Instructions ================================ ## General ### Prerequisites - g++ - CMake 2.8.12+ - Qt5 5.4+ Development Packages ( Qt5Core, Qt5Widgets, Qt5PrintSupport, Qt5Xml, Qt5Svg ) - zlib 1.2+ Development Package > Even if the above library packages are installed, their corresponding development packages > may also need to be installed. Development packages are usually named something like > libraryName-dev or libraryName-devel. ### Compile and Install gLabels uses the CMake meta build system. Use the following commands to build and install gLabels:
$ cd glabels_source_directory
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
## Example: Ubuntu 19.04 ### Installing Prerequisites ``` sudo apt install cmake sudo apt install qtbase5-dev libqt5svg5-dev qttools5-dev zlib1g-dev ``` _QREncode (Optional)_ ``` sudo apt install pkgconf libqrencode-dev ``` _Zint (Optional)_ ``` wget https://downloads.sourceforge.net/project/zint/zint/2.6.3/zint-2.6.3_final.tar.gz tar xzf zint-2.6.3_final.tar.gz cd zint-2.6.3.src mkdir build && cd build && cmake .. && make sudo make install ``` ### Compile and Install gLabels ``` $ cd glabels-qt $ mkdir build $ cd build $ cmake .. $ make $ sudo make install ```