windowembedding: Remove workaround for wrongly placed qmldir file

Change-Id: Ica6ef6efc4ebb668932d6dfb50425e28cd31231c
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 962eb7207d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2024-01-19 16:35:38 +01:00 committed by Qt Cherry-pick Bot
parent 5297f9f2ea
commit 9a958196fa
1 changed files with 0 additions and 8 deletions

View File

@ -67,14 +67,6 @@ if(APPLE)
endif()
endif()
# The add_qml_module_to_macos_app_bundle helper from 'shared'
# fails top copy the qmldir file from the right place.
add_custom_command(TARGET windowembedding POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
$<TARGET_PROPERTY:windowembedding_shared,RUNTIME_OUTPUT_DIRECTORY>/qmldir
$<TARGET_FILE_DIR:windowembedding_shared>/qmldir
)
install(TARGETS windowembedding
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"