Qt's but QTBUG-42846 "QNSView mouseDragged: Internal mouse button tracking
invalid (missing Qt::LeftButton)" was fixed. No need to hide the warning message anymore. (grafted from 465d6259962d52d03eca629bc059be1e594e9dd4) --HG-- branch : release
This commit is contained in:
parent
ca7500b905
commit
bf58fb4486
|
@ -85,12 +85,23 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
|
# if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) && QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
|
||||||
// Try hide very annoying, Qt related, warnings in Mac OS X
|
// Try hide very annoying, Qt related, warnings in Mac OS X
|
||||||
// Remove after Qt fix will be released
|
// QNSView mouseDragged: Internal mouse button tracking invalid (missing Qt::LeftButton)
|
||||||
|
// https://bugreports.qt.io/browse/QTBUG-42846
|
||||||
if ((type == QtWarningMsg) && msg.contains("QNSView"))
|
if ((type == QtWarningMsg) && msg.contains("QNSView"))
|
||||||
{
|
{
|
||||||
type = QtDebugMsg;
|
type = QtDebugMsg;
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
|
|
||||||
|
// Hide Qt bug 'Assertion when reading an icns file'
|
||||||
|
// https://bugreports.qt.io/browse/QTBUG-45537
|
||||||
|
// Remove after Qt fix will be released
|
||||||
|
if ((type == QtWarningMsg) && msg.contains("QICNSHandler::read()"))
|
||||||
|
{
|
||||||
|
type = QtDebugMsg;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// this is another one that doesn't make sense as just a debug message. pretty serious
|
// this is another one that doesn't make sense as just a debug message. pretty serious
|
||||||
|
|
|
@ -81,12 +81,15 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
|
# if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) && QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
|
||||||
// Try hide very annoying, Qt related, warnings in Mac OS X
|
// Try hide very annoying, Qt related, warnings in Mac OS X
|
||||||
// Remove after Qt fix will be released
|
// QNSView mouseDragged: Internal mouse button tracking invalid (missing Qt::LeftButton)
|
||||||
|
// https://bugreports.qt.io/browse/QTBUG-42846
|
||||||
if ((type == QtWarningMsg) && msg.contains("QNSView"))
|
if ((type == QtWarningMsg) && msg.contains("QNSView"))
|
||||||
{
|
{
|
||||||
type = QtDebugMsg;
|
type = QtDebugMsg;
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
|
|
||||||
// Hide Qt bug 'Assertion when reading an icns file'
|
// Hide Qt bug 'Assertion when reading an icns file'
|
||||||
// https://bugreports.qt.io/browse/QTBUG-45537
|
// https://bugreports.qt.io/browse/QTBUG-45537
|
||||||
|
|
Loading…
Reference in New Issue
Block a user