CMake code fix was merged, the workaround is not needed anymore. https://github.com/qbittorrent/qBittorrent/pull/6519
Thanks! https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d903519b52e31aa2e7cdea5b141b968ff1afc3