cmake, qt, test: Remove problematic code

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:
1. The code is broken because the destination directory must end with a
   trailing slash (`/`).
2. It is unnecessary because Qt's minimal integration plugin is not
   used on Windows. For more details, please refer to the following
   code.
This commit is contained in:
Hennadii Stepanov 2024-10-24 11:27:16 +01:00
parent d94adc7270
commit fb46d57d4e
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -32,14 +32,6 @@ if(ENABLE_WALLET)
) )
endif() endif()
if(NOT QT_IS_STATIC)
add_custom_command(
TARGET test_bitcoin-qt POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_PROPERTY:Qt5::QMinimalIntegrationPlugin,LOCATION_$<UPPER_CASE:$<CONFIG>>> $<TARGET_FILE_DIR:test_bitcoin-qt>/plugins/platforms
VERBATIM
)
endif()
add_test(NAME test_bitcoin-qt add_test(NAME test_bitcoin-qt
COMMAND test_bitcoin-qt COMMAND test_bitcoin-qt
) )