qt.cfg: add logging macro definition (#1738)

This commit is contained in:
Sebastian Held 2019-03-14 06:14:51 +01:00 committed by Daniel Marjamäki
parent 703e0a0153
commit e9f25bed3f
1 changed files with 1 additions and 0 deletions

View File

@ -1475,6 +1475,7 @@
<define name="QTC_ASSERT(cond, action)" value="if (Q_LIKELY(cond)) {} else { QTC_ASSERT_STRING(#cond); action; } do {} while (0)"/> <define name="QTC_ASSERT(cond, action)" value="if (Q_LIKELY(cond)) {} else { QTC_ASSERT_STRING(#cond); action; } do {} while (0)"/>
<define name="QTC_CHECK(cond)" value="if (Q_LIKELY(cond)) {} else { QTC_ASSERT_STRING(#cond); } do {} while (0)"/> <define name="QTC_CHECK(cond)" value="if (Q_LIKELY(cond)) {} else { QTC_ASSERT_STRING(#cond); } do {} while (0)"/>
<define name="QTC_GUARD(cond)" value="((Q_LIKELY(cond)) ? true : (QTC_ASSERT_STRING(#cond), false))"/> <define name="QTC_GUARD(cond)" value="((Q_LIKELY(cond)) ? true : (QTC_ASSERT_STRING(#cond), false))"/>
<define name="Q_LOGGING_CATEGORY(name,...)" value="" />
<!-- https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef --> <!-- https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef -->
<define name="qreal" value="double"/> <define name="qreal" value="double"/>
<podtype name="qint8" sign="s" size="1"/> <podtype name="qint8" sign="s" size="1"/>