Revert "Cmake build: Add Qt?Xml modules to build."

This reverts commit 0116048697.
This commit is contained in:
Jean-Marc Lasgouttes 2024-07-19 14:20:53 +02:00
parent 095bb18331
commit cd4d54f76a

View File

@ -47,14 +47,14 @@ endif()
set_target_properties(frontend_qt PROPERTIES FOLDER "applications/LyX" QT_NO_UNICODE_DEFINES TRUE)
if(Qt6Core_FOUND)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml SvgWidgets)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg SvgWidgets)
elseif(Qt5Core_FOUND AND APPLE)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml MacExtras)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg MacExtras)
else()
if (Qt5WinExtras_FOUND)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml WinExtras)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg WinExtras)
else()
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg)
endif()
endif()
target_link_libraries(frontend_qt