qt.cfg: Add support for qFatal() which aborts the program

Reference: https://doc.qt.io/qt-5/qtglobal.html#qFatal
This commit is contained in:
versat 2019-02-07 15:00:07 +01:00
parent d7c20b15e7
commit 5e7f491bd4
1 changed files with 11 additions and 0 deletions

View File

@ -1236,6 +1236,17 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- qFatal(const char *message, ...) -->
<function name="qFatal">
<noreturn>true</noreturn>
<leak-ignore/>
<formatstr/>
<arg nr="1">
<not-uninit/>
<formatstr/>
<strz/>
</arg>
</function>
<container id="qtContainer" opLessAllowed="false"> <container id="qtContainer" opLessAllowed="false">
<type templateParameter="0"/> <type templateParameter="0"/>
<size> <size>