Skip to content
Snippets Groups Projects
Commit daffd90d authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

vlc-qt-check: output error to console

parent 5734f6a0
No related branches found
No related tags found
1 merge request!2479qt: fix contrib to avoid race conditions and make it work on Linux and Macosx reliably
......@@ -24,12 +24,18 @@
#include <stdlib.h>
#include <QApplication>
#include <QTextStream>
#include <QtGlobal>
#include <iostream>
static void messageOutput(QtMsgType type, const QMessageLogContext &,
const QString &)
const QString &msg)
{
if (type == QtFatalMsg)
{
std::cerr << msg.toUtf8().constData() << std::endl;
exit(1);
}
}
#include <qconfig.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment