Digital signatures verification tool (first part)

This commit is contained in:
Jakub Melka
2020-09-27 18:02:57 +02:00
parent 13563a7bcc
commit ddf852d34e
12 changed files with 315 additions and 49 deletions

View File

@@ -630,4 +630,13 @@ void PDFConsole::writeText(QString text)
#endif
}
void PDFConsole::writeError(QString text)
{
#ifdef Q_OS_WIN
WriteConsoleW(GetStdHandle(STD_ERROR_HANDLE), text.utf16(), text.size(), nullptr, nullptr);
#else
QTextStream(stdout) << text;
#endif
}
} // pdftool