QWebEnginePage and printToPdf Qt 5.7 issue
Hi guys… I’m trying to use this function with qt 5.7 beta
void QWebEnginePage::printToPdf(const QString &filePath, const QPageLayout &pageLayout)
but, I have a problem with it because I don’t know when the pdf generation has finished, it seem like the pdf generation is running on other thread and I can’t know when it’s finish.
does any one has any advise to do that? how Qt 5.7 notify that the pdf was generated successful or with error using this method?