This sample is code to write of PDF document with Linux's QT library. I want to helped for yours!