mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
cmake build with qt6 (macos) did not include "plugins"
(cherry picked from commit 4d02fb7ad7
)
This commit is contained in:
parent
0485574f76
commit
00d59c17cd
@ -48,6 +48,11 @@ if(LYX_BUNDLE)
|
|||||||
install_qt_plugin("${QtScope}::QCocoaIntegrationPlugin")
|
install_qt_plugin("${QtScope}::QCocoaIntegrationPlugin")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
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)
|
||||||
|
endif()
|
||||||
# Install code does the following:
|
# Install code does the following:
|
||||||
# - Creates the qt.conf file
|
# - Creates the qt.conf file
|
||||||
# - install the platform specific plugins (with Qt5)
|
# - install the platform specific plugins (with Qt5)
|
||||||
|
Loading…
Reference in New Issue
Block a user