Details
-
Suggestion
-
Resolution: Fixed
-
P4: Low
-
4.6.2
-
None
-
eb63f2eb0 (dev)
Description
You'd make a qFatal() stream version. The "qDebug() << 123;" form exists for qWarning() and qCritical(), why not make it for qFatal() too?
It's as easy as this:
inline QDebug qFatal()
{ return QDebug(QtFatalMsg); }And if you're worried about calling exit(), just do it from QDebug's destructor if the message type is QtFatalMsg.
Attachments
Issue Links
- is duplicated by
-
QTBUG-38992 qFatal() macro no longer works
-
- Closed
-