This program is called from ../uiloader. ./tst_screenshot Syntax: ./tst_screenshot [output directory] This programm takes a *.ui file and an output dir as argument in order to create a screenshot of the widget defined in the ui file. The screenshot is saved in the output dir (default current dir), ".png" is appended to the ui file name.