qt5base-lts/tests/auto/tools
hjk 4fa0b41523 uic: Avoid use of Q_UNUSED in the generated code
Instead, use (void)x; directly.

The current use of Q_UNUSED(x); generates warnings for an
empty statement the expansion of Q_UNUSED contains a semicolon
already.

Emitting Q_UNUSED(x) without the extra semicolon would be
an option, too, but as the future of Q_UNUSED's embedded
semicolon seems unclear right now, avoid its use altogether.

The change affects only generated code that's barely ever
read by a human, so the overall utility of "improved readability"
of Q_UNUSED in that place is questionable anyway.

Change-Id: I332527ed7c202f779bd82290517837e3ecf09a08
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2019-07-30 09:34:36 +02:00
..
moc Qt6: Fix uninitialized meta objects on Windows 2019-07-16 18:34:41 -07:00
qdbuscpp2xml remove unnecessary references to $$QMAKE_CFLAGS_DBUS 2016-10-04 20:21:28 +00:00
qdbusxml2cpp remove unnecessary references to $$QMAKE_CFLAGS_DBUS 2016-10-04 20:21:28 +00:00
qmake Remove usages of deprecated APIs of corelib 2019-07-05 11:25:46 +02:00
qmakelib Migrate Windows system libs to external dependencies 2019-05-08 08:30:02 +00:00
rcc rcc: Add -d option to output a Makefile-syntax depfile 2019-06-29 02:26:23 +02:00
uic uic: Avoid use of Q_UNUSED in the generated code 2019-07-30 09:34:36 +02:00
tools.pro add test for the qmake library 2015-02-25 13:54:33 +00:00