Split from #30997.
The removed code aimed to make Qt’s minimal integration plugin DLL available for test_bitcoin-qt.exe
on Windows.
However, there are two issues:
- The code is broken because the destination directory must end with a trailing slash (
/
). - It is unnecessary because Qt’s minimal integration plugin is not used on Windows. For more details, please refer to the following code:https://github.com/bitcoin/bitcoin/blob/fb46d57d4e7263495c007f4a499a349bff2b21e0/src/qt/test/CMakeLists.txt#L38-L44
As a side effect, this PR fixes https://github.com/bitcoin-core/gui/issues/842.