In retrospect, it seems obvious, but I had to re-read the original ? and user1661176's answer carefully and do some research to realize I had to use both of the following in my ".pro" file to make this work:
QMAKE_CXXFLAGS_WARN_ON -= -w34100
QMAKE_CXXFLAGS += -wd4100
This answer is given just so someone else finding this ? can get the answer quickly without needing to do additional research.
The reason to do this, to me, seems obvious. I like to leave the parameter names in functions created by choosing "Go to slot" in Qt Creator, so that I can have a hint at what the parameters do just by looking at them, even if I don't use them; just in case I decide to use them later. I'm also not keen on e.g. wrapping parameter names in e.g. const QDate* UNUSED(date)
which impedes readability by making functions look cluttered.
If you follow this route of suppressing these warnings too, I suggest you turn them back on from time to time and check these warnings, just in case you can remove some unneeded parameters in your own functions, or can use parameters you aren't using, but should be, from your function declarations/implementations.
(That this is for Qt seems indicated, by the OP's specification of the qmake tag.)
Edit:
With the most recent Qt Creator version, 4.7.1, one gets a whole slew of warnings, including unused parameters. One that is inarguably unsuitable for Qt is "code will never be executed," in cases where a qDebug() << "some text;
occurs in release mode; and it also flags most(?) implicit conversions. There is no way to disable individual warning types for it. However, you can disable all of them by going to the little toolbar to the right of the title of the "Issues" pane. The one on the extreme right is a funnel. Click on it, and you can disable the Clang warnings, by unchecking "Clang Code Model". Don't get me wrong - these warnings can point out important issues; so I enable them to look through them, but most of mine were pretty trivial, IMHO (e.g. having to do with not rewriting my code to use new language features). Once I've addressed issues I think are important, I disable them again.
I also noticed that the above lines don't do the job any more. However, the following do:
QMAKE_CXXFLAGS_WARN_ON -= -w34100
QMAKE_CXXFLAGS_WARN_OFF += -wd4100
You may or may not need to make this change in Visual Studio with the latest version of Qt, as well.