QWebChannel: give friendship to tst_bench_QWebChannel the idiomatic way


Don't put the tst_ class into the QT_NAMESPACE lest it changes the
name in the CI -qt-namespace builds and messes up statistics
(unlikely, being a benchmark, but anyway). This requires
forward-declaring the tst_ class at global scope and using a FQN in
the friend declaration to avoid the friend declaration declaring a
separate class in QT_NAMESPACE.

Amends dccba9bbfdb893fb51c7ef52b7cf0e605eb2d13d, but that just
inherited the issue from the existing code. Created QTBUG-122927 to
track the original issue.

Task-number: QTBUG-122927
Pick-to: 6.7
Change-Id: Ia6d3932f061eee7b6741ac875932a7e15120d830
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
commitef28c9d7c587471df680f777ab3bdcdc6ac03f3d
parent2c7465b284ea02f42988ec77575723df35e677bb
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeFri, 1 Mar 2024 17:15:02 +0100