Cmake build: Add Qt?Xml modules to build.

Cmake part of the fix to #13069 XHTML output for InsetMathBox can loop forever
This commit is contained in:
Kornel Benko 2024-06-23 12:34:50 -04:00 committed by Richard Kimberly Heck
parent fafe3ea5d7
commit 0116048697

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 SvgWidgets)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml SvgWidgets)
elseif(Qt5Core_FOUND AND APPLE)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg MacExtras)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml MacExtras)
else()
if (Qt5WinExtras_FOUND)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg WinExtras)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml WinExtras)
else()
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml)
endif()
endif()
target_link_libraries(frontend_qt