QMetaObjectPublisher: use new way to QMetaObject::invokeMethod


The new API isn't limited to 10 parameters. It also does its own
parameter matching, which we use here to locate the method to be
called. I don't think that was necessary, though, because we sort the
methods to be called in order of preference.

Fixes: QTBUG-105596
Change-Id: I36b24183fbd041179f2ffffd170268620633a72b
Reviewed-by: Arno Rehn <a.rehn@menlosystems.com>
commit40a8e2cb8cc1624b6c4f15f6d4070c2027a1e774
parentcb11923e53e417a28dbb87a9e2f164f15c01fec2
authorThiago Macieira <thiago.macieira@intel.com>
committerThiago Macieira <thiago.macieira@intel.com>
commit timeThu, 25 Aug 2022 21:55:50 -0700