qt5base-lts/tests/auto/corelib
Kai Koehne b8a38a6737 Allow printf style for qCDebug, qCWarning, qCCritical macros
Add support for using qCDebug and friends in the 'printf style' way.
This allows an almost mechanical conversion of existing qDebug, qWarning,
qCritical macros, and allows avoiding the size overhead the streaming
style incurs (mostly due to inlined QDebug code).

To handle this gracefully we require variadic macros (part of
C++11/C99). For compilers not supporting variadic macros we fall back
to checking the category in QMessageLogger.

[ChangeLog][QtCore][Logging] Allow qCDebug macros to be used in a printf
style.

Change-Id: I5a8fb135dca504e1d621bb67bf4b2a50c73d41b9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-01-21 14:58:03 +01:00
..
animation Stabilize one function in tst_qpauseanimation.cpp 2014-01-07 19:21:16 +01:00
codecs Add a new UTF-8 decoder, similar to the encoder we've just added 2014-01-09 22:34:54 +01:00
global Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
io Allow printf style for qCDebug, qCWarning, qCCritical macros 2014-01-21 14:58:03 +01:00
itemmodels Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
json Added constructor to QJsonValue for const char * 2014-01-16 21:49:26 +01:00
kernel QObject: fix connection to function pointer with non-copyable references argument 2014-01-17 11:25:31 +01:00
mimetypes Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
plugin qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT 2013-11-15 06:30:53 +01:00
statemachine don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
thread tst_qthreadpool: fix memory leak 2013-11-28 09:14:11 +01:00
tools Update the Unicode Data and Algorithms up to Unicode 6.3.0 2014-01-14 15:38:57 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00