title: Print on Linux and Windows in Qt/C++
body: <p>I have pdf files and I want to print them on paper (I say this because 'print' usually refers to pass the content generated to pdf file).</p>
  
  <p>On Linux, I use system calls to CUPS passing the name of the file as an argument, but on Windows, this is not possible. I began to read about printing on Windows with C++, but I have to use proprietary libraries, and I don't want to use it for now (only last resource).</p>
  
  <p>I read about <code>QPrinter</code> and other classes, but how can I use this class or other related to print pdf files? Does another thing print the pdf files exist?</p>