PR description:
> BITCOIN_QT_TEST is no longer used since switching to autotools build system.
>
> Some historical refs:
>
> PR807https://github.com/bitcoin/bitcoin/pull/807
> https://github.com/bitcoin/bitcoin/pull/4241
Backport of Core [[https://github.com/bitcoin/bitcoin/pull/424116350 | PR424116350]]