qt5base-lts/tests/auto
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
..
android Adding CI utilities to Android test script 2013-10-30 11:29:04 +01:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Teach CMake about Qt 5 plugins. 2013-09-10 14:38:18 +02:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent QtConcurrent: Workaround GCC bug 58800 in median calculation 2013-12-03 11:45:18 +01:00
corelib Allow printf style for qCDebug, qCWarning, qCCritical macros 2014-01-21 14:58:03 +01:00
dbus don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
gui iOS: Fix compilation of some basic tests 2014-01-17 11:04:43 +01:00
guiapplauncher
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Ensure weak ciphers are not part of the default SSL configuration. 2014-01-21 03:41:34 +01:00
opengl Resurrect QGLWidget::renderPixmap() 2014-01-06 12:57:20 +01:00
other Introduce function for standard button texts to QPlatformTheme. 2014-01-18 09:23:38 +01:00
printsupport Merge remote-tracking branch 'origin/stable' into dev 2013-12-05 18:52:38 +01:00
shared iOS: Fix compilation of some basic tests 2014-01-17 11:04:43 +01:00
sql Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
testlib Testlib: Use QString for messages in QAbstractTestLogger::addMessage() 2014-01-21 06:28:23 +01:00
tools Rename a test class to a bit more verbose name. 2014-01-20 17:08:28 +01:00
widgets Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
xml expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
auto.pro exclude gui-needing tests from -no-gui build 2013-10-18 20:05:27 +02:00
network-settings.h network test settings: support newer FTP server versions 2013-08-28 12:45:34 +02:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00