Amend(4) 580dea63: get rid of Qt4 code also in cmake build

This commit is contained in:
Kornel Benko 2022-11-22 18:48:46 +01:00
parent 4cf7a1f6d9
commit 431379615e
2 changed files with 0 additions and 8 deletions

View File

@ -62,10 +62,6 @@ endmacro(LYX_ADD_UI_FILES)
macro(LYX_AUTOMOC) macro(LYX_AUTOMOC)
if (QT4_GET_MOC_INC_DIRS)
QT4_GET_MOC_INC_DIRS(_moc_INCS)
endif()
set(_matching_FILES) set(_matching_FILES)
foreach (_current_FILE ${ARGN}) foreach (_current_FILE ${ARGN})

View File

@ -36,10 +36,6 @@ if(LYX_BUNDLE)
endif() endif()
install_qt_plugin("Qt5::QCocoaIntegrationPlugin") install_qt_plugin("Qt5::QCocoaIntegrationPlugin")
endif() endif()
else()
# With QT4, 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() endif()
# Install code does the following: # Install code does the following: