Plugin cannot be found by CMake
Unsolved
General and Desktop
-
In the latest Qt version: 6.2.4, the following plugin cannot be found by cmake:
$<TARGET_FILE:Qt6::QWindowsIntegrationPlugin>
Full command used:
add_custom_command(TARGET "test" POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:Qt6::Core> $<TARGET_FILE:Qt6::Gui> $<TARGET_FILE:Qt6::Widgets> $<TARGET_FILE:Qt6::QWindowsIntegrationPlugin> $<TARGET_FILE_DIR:test>)