Don't use Hash#first

Fixes #31360.
qwt: designer plugin fix and qwtmathml option
qwt: add 6.1.0 bottle.