#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0)) void Log(QtMsgType type, const QMessageLogContext &context, const QString &msg) #else void Log(QtMsgType type, const char *msg) #endif { static QMutex mutex; QMutexLocker locker(&mutex); QString content; switch (type) { case QtDebugMsg: content = QString("%1").arg(msg); break; case QtWarningMsg: content = QString("%1").arg(msg); break; case QtCriticalMsg: content = QString("%1").arg(msg); break; case QtFatalMsg: content = QString("%1").arg(msg);...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile