Find enclosed a small patch which excludes _debug qt files when
installing in a bundle on MacOS. I think I copied that step without the
EXCLUDE restriction but this is actually needed.
When installing Qt one can install release and debug versions of everything.
I tried to install a bundle with the _debug versions only but apparently
the CMake fixup_bundle() routine does not accept this. The problem is
line 810 in the bundle_utilities.
I wonder whether it is possible to build a full-blown application which
can be debugged on other platforms?
Patrick
diff --git a/development/cmake/post_install/CMakeLists.txt
b/development/cmake/post_install/CMakeLists.txt
index fd5d88ed94..950943100e 100644
--- a/development/cmake/post_install/CMakeLists.txt
+++ b/development/cmake/post_install/CMakeLists.txt
@@ -51,7 +51,7 @@ if(LYX_BUNDLE)
if (APPLE AND LYX_USE_QT MATCHES "QT6")
# With QT6, just copy all the plugins
file(GLOB QT_PLUGIN_DIRECTORIES "${QT_PLUGINS_DIR}/*")
- install(DIRECTORY ${QT_PLUGIN_DIRECTORIES} DESTINATION
"${qtplugin_dest_dir}/plugins/" COMPONENT Runtime)
+ install(DIRECTORY ${QT_PLUGIN_DIRECTORIES} DESTINATION
"${qtplugin_dest_dir}/plugins/" COMPONENT Runtime REGEX "\\_debug\\.dylib$"
EXCLUDE)
endif()
# Install code does the following:
# - Creates the qt.conf file
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel