```
QT LOVES to do things its own way and simply ignore all environment
variables. Even listing QMAKE_CC=... in ./configure flags does't work
reliably. This is why we gotta literally edit their config files for
them. Thanks QT.
```
Backport of core [[https://github.com/bitcoin/bitcoin/pull/17466 | PR17466]].
Depends on D5656.