aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/xmlutils.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-04 08:15:17 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-04 08:29:54 +0000
commit9768da0be5a09632c60c4e4035fa52b9c55376df (patch)
treed9e0d8545e08597f208cda183787b51028fa0680 /sources/shiboken2/ApiExtractor/xmlutils.cpp
parentf47818b5c710aa6ae5f76809046105cb8c3d9f7f (diff)
Remove QtScript, QtXmlPatterns
They are obsolete in Qt 6. Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Change-Id: I70816b3c3270a1db65ad3b3871a09c62d31420e5 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/xmlutils.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/xmlutils.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/sources/shiboken2/ApiExtractor/xmlutils.cpp b/sources/shiboken2/ApiExtractor/xmlutils.cpp
index a179412a7..6edca2fa5 100644
--- a/sources/shiboken2/ApiExtractor/xmlutils.cpp
+++ b/sources/shiboken2/ApiExtractor/xmlutils.cpp
@@ -28,7 +28,6 @@
#include "xmlutils.h"
-#include "xmlutils_qt.h"
#include "xmlutils_libxslt.h"
XQuery::XQuery() = default;
@@ -47,8 +46,6 @@ QSharedPointer<XQuery> XQuery::create(const QString &focus, QString *errorMessag
{
#if defined(HAVE_LIBXSLT)
return libXml_createXQuery(focus, errorMessage);
-#elif defined(HAVE_QTXMLPATTERNS)
- return qt_createXQuery(focus, errorMessage);
#else
*errorMessage = QLatin1String(__FUNCTION__) + QLatin1String(" is not implemented.");
return QSharedPointer<XQuery>();
@@ -59,8 +56,6 @@ QString xsl_transform(const QString &xml, const QString &xsl, QString *errorMess
{
#if defined(HAVE_LIBXSLT)
return libXslt_transform(xml, xsl, errorMessage);
-#elif defined(HAVE_QTXMLPATTERNS)
- return qt_xsl_transform(xml, xsl, errorMessage);
#else
*errorMessage = QLatin1String(__FUNCTION__) + QLatin1String(" is not implemented.");
return xml;