Skip to content

Commit fb46d57

Browse files
committed
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.
1 parent d94adc7 commit fb46d57

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/qt/test/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ if(ENABLE_WALLET)
3232
)
3333
endif()
3434

35-
if(NOT QT_IS_STATIC)
36-
add_custom_command(
37-
TARGET test_bitcoin-qt POST_BUILD
38-
COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_PROPERTY:Qt5::QMinimalIntegrationPlugin,LOCATION_$<UPPER_CASE:$<CONFIG>>> $<TARGET_FILE_DIR:test_bitcoin-qt>/plugins/platforms
39-
VERBATIM
40-
)
41-
endif()
42-
4335
add_test(NAME test_bitcoin-qt
4436
COMMAND test_bitcoin-qt
4537
)

0 commit comments

Comments
 (0)