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:
parent
5297f9f2ea
commit
9a958196fa
|
@ -67,14 +67,6 @@ if(APPLE)
|
||||||
endif()
|
endif()
|
||||||
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
|
install(TARGETS windowembedding
|
||||||
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
|
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
|
||||||
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
|
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
|
||||||
|
|
Loading…
Reference in New Issue