mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Digital signatures verification tool (first part)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user