diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-04-18 12:41:14 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-04-25 11:53:15 +0000 |
commit | 21077bec48f2ca16ec0fed25e0c0af62317606d9 (patch) | |
tree | 8f3e8e6c636ce96c7385745a8b15959c01de426e /sources/shiboken2/generator | |
parent | e336872828de86146059de0f62ed06afaaf64d8d (diff) |
shiboken2: Enable documentation generation with libxml2/libxslt
As QtXmlPatterns is deprecated in Qt 5.14, the documentation build
needs to be changed to work with libxml2/libxslt exclusively.
Split the XML functionality into separate files for libxslt and Qt and
provide an interface for XPATH queries and XSLT transformations in
xmlutils.h.
Adapt testmodifydocumentation to work on temporary files as libxslt
cannot handle Qt resources.
Change-Id: I923f5b2e7c1d2511f15788e4b80c7721daeb2bc3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/generator')
-rw-r--r-- | sources/shiboken2/generator/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/shiboken2/generator/CMakeLists.txt b/sources/shiboken2/generator/CMakeLists.txt index 745c366f5..15b965d9d 100644 --- a/sources/shiboken2/generator/CMakeLists.txt +++ b/sources/shiboken2/generator/CMakeLists.txt @@ -24,7 +24,6 @@ target_link_libraries(shiboken2 apiextractor Qt5::Core) if (NOT DISABLE_DOCSTRINGS) target_sources(shiboken2 PRIVATE qtdoc/qtdocgenerator.cpp) target_compile_definitions(shiboken2 PUBLIC DOCSTRINGS_ENABLED) - target_link_libraries(shiboken2 Qt5::XmlPatterns) endif() configure_file(shibokenconfig.h.in "${CMAKE_CURRENT_BINARY_DIR}/shibokenconfig.h" @ONLY) |