diff --git a/src/main.cpp b/src/main.cpp index 52cdbea..c629973 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -28,6 +28,8 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg) { + return; + QByteArray localMsg = msg.toLocal8Bit(); const char *file = context.file ? context.file : ""; const char *function = context.function ? context.function : ""; @@ -52,7 +54,7 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QS int main(int argc, char *argv[]) { - // qInstallMessageHandler(myMessageOutput); + qInstallMessageHandler(myMessageOutput); QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv);