qt6-bb10/src
Marc Mutz 29a7f5571c QtWidgets: use printf-style qWarning/qDebug where possible (I)
The printf-style version of QDebug expands to a lot less code than the
std::ostream-style version. Of course, you pay in type safety (but
compilers warn about it these days), you cannot stream complex Qt
types and streaming QStrings is awkward, but in many cases you
actually improve on readability.

But the main reason is that something that's not supposed to be
executed under normal operation has no business bloating executable
code size.

This is not an attempt at converting all qWarnings() to printf-style,
only the low-hanging fruit.

In this first part, replace
   qWarning() << "...";
with
   qWarning("...");

Change-Id: I1f6869b024103c98262f1deae014e0d7337a541c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-10-27 11:10:24 +00:00
..
3rdparty ANGLE: Fix winrt backing store to support feature level 9_3 devices. 2015-10-24 09:41:03 +00:00
android Merge "Merge remote-tracking branch 'origin/5.5' into 5.6" into refs/staging/5.6 2015-10-26 21:29:32 +00:00
angle ANGLE: Fix winrt backing store to support feature level 9_3 devices. 2015-10-24 09:41:03 +00:00
concurrent Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
corelib Merge "Merge remote-tracking branch 'origin/5.5' into 5.6" into refs/staging/5.6 2015-10-26 21:29:32 +00:00
dbus Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
gui Remove historical +4 padding in QFontEngine::alphaMapForGlyph() 2015-10-27 09:01:47 +00:00
network QNetworkReplyHttpImpl: convert some QDateTime::currentDateTime() to currentDateTimeUtc() 2015-10-27 11:10:01 +00:00
opengl Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
platformsupport Move EGLDevice/Output/Stream resolvers into eglconvenience 2015-10-20 08:54:04 +00:00
plugins Merge "Merge remote-tracking branch 'origin/5.5' into 5.6" into refs/staging/5.6 2015-10-26 21:29:32 +00:00
printsupport Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
sql Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
testlib Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
tools qdoc is moving back to qttools 2015-10-22 19:40:09 +00:00
widgets QtWidgets: use printf-style qWarning/qDebug where possible (I) 2015-10-27 11:10:24 +00:00
winmain winrt: Wait for main thread to exit before exit. 2015-10-16 04:34:32 +00:00
xml Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
src.pro qdoc is moving back to qttools 2015-10-22 19:40:09 +00:00