There are several ways to use Kugar
Create a temporary file and fill it with data, organized according to the KugarData Document Type Definition. Then call the kugar shell command (
kugar [-d Kugar data file] [-r Kugar template file]
Use Kugar directly in the application's code. See Using a Kugar classes for reporting section for a detailed description.
Create a Qt™ designer plugin, use it to build application GUI in the designer and link it to the program dynamically. See Creating Qt™ designer plugin section for a detailed description.
The last two ways are acceptable for Qt™ and KDE developers. But Kugar is designed to be a report generator, independent from a programming language or/and IDE. It uses XML™ format for describing report templates and data files. So any program can produce output in Kugar data file format as described in KugarData DTD or even a report template file format (see KugarTemplate DTD). A Kugar shell (report viewer) can be used to preview and print generated report.