While changes introduced in bitcoin/bitcoin#22093 worked fine with Qt 5.12, after bumping Qt up to 5.15 the cross-compiling of qt
package for Windows fails with error: ‘mutex’ in namespace ‘std’ does not name a type
.
The first commit fixes this bug.
The second commit cleans up a related CI script.
The third commit improves related docs (see #22093 (review)).