Skip to content

anshulgupta0803/common-print-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common Print Dialog

Requirements

On Ubuntu, run this command to install all dependencies

sudo apt -y install qt5-qmake qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-templates2 qml-module-qtquick-dialogs qml-module-qt-labs-settings qml-module-qt-labs-folderlistmodel

For the helper libraries and CUPS/GCP backends, see their respective README files.

Build

To build and install the Print Dialog Library

mkdir build; cd build
qmake ..
make all
sudo make install

Using the library

https://github.com/anshulgupta0803/printTest

This is a Hello World print application which uses the Print Dialog library.