Linux permissions issue when executing wkhtmltopdf-amd64

前端 未结 5 1014
庸人自扰
庸人自扰 2021-01-17 21:39

When I run the executable \"wkhtmltopdf-amd64\" (from Linux), I get the following output:

QPainter::begin(): Returned false============================] 100%         


        
5条回答
  •  野的像风
    2021-01-17 22:30

    make sure you have access to the directory ie : you are the owner and have write permissions when you run wkhtmltopdf http://www.google.com test.pdf

    you can always su sudo and try it out but generally i wouldn't write to any where but home just so i dont store junk in important places.

提交回复
热议问题