Qt XML Patterns deprecated since Qt 5.13: how to 'port away' from it?
-
We recently upgraded to Qt 5.13. Our code heavily uses the Qt XML Patterns module. According to https://doc.qt.io/qt-5/qtxmlpatterns-index.html this module is deprecated since Qt 5.13. Furthermore, according to https://wiki.qt.io/Qt_Modules_Maturity_Level old code should "begin porting away" from such a deprecated module.
What must we do in order to "port away" from the deprecated Qt XML Patterns module? Googling for "Qt XML Patterns deprecated" doesn't bring me much information regarding this...
-
You have to switch to an external validator
-
@Bart_Vandewoestyne
i read somewhere (IIRC on the mailing list) that it still will be contained in continous Qt 5.x releases and just be removed in Qt 6
So still a plenty of time ahead -
@raven-worx said in Qt XML Patterns deprecated since Qt 5.13: how to 'port away' from it?:
@Bart_Vandewoestyne
i read somewhere (IIRC on the mailing list) that it still will be contained in continous Qt 5.x releases and just be removed in Qt 6
So still a plenty of time aheadFirst release of Qt6 is currently targeted for end of 2020
Another LTS release (5.15) is expected, so there should be support for XML Patterns for the next four years at least. -
I want to second that, we are also unhappy with migrating our XML code to another library.
(We ported our code from Xalan to QtXMLPatterns two years ago).
Seeing strange new features and components coming to Qt, I can't understand why the basics now apparently have to go..
LTS does not help us, if (probably more 'when') we need another OpenSSL version.. and our last reported bug, did not make it into an LTS either.
Luckily Qt6 is still on the horizon. Perhaps we should evaluate what parts of Qt we are really using and look for an alternative.
I thinks it's mostly 'GUI-stuff'.. -
@Daniel-Lange said in Qt XML Patterns deprecated since Qt 5.13: how to 'port away' from it?:
Luckily Qt6 is still on the horizon.
Sadly, 6.0 might not be usable for some of use. For example:
Qt WebEngine
Not included in Qt 6.0.
Or:
Qt WebView
Not included in Qt 6.0.
and...
Qt Android Extras
Not included in Qt 6.0.
also some more deprecations will be removed:
Qt Quick Controls 1
Note, this module is deprecated in Qt 5.15 and therefore may no longer be shipped in Qt 6.
(QQC1 has useful Calendar and more)
See: https://wiki.qt.io/Checklist_for_Qt_6.0_inclusion
Back to the topic, any recommendations on actively developed (XQilla for example latest release is in 2016..) C++ library providing XQuery support?
-
@Talkless said in Qt XML Patterns deprecated since Qt 5.13: how to 'port away' from it?:
Qt WebEngine
Not included in Qt 6.0.Wot?! Just not in 6.0 but coming to 6.x, or being withdrawn completely?? I can't find any docs on this, other than the list quoted by @Talkless .
-
@JonB said in Qt XML Patterns deprecated since Qt 5.13: how to 'port away' from it?:
Wot?! Just not in 6.0 but coming to 6.x, or being withdrawn completely??
I've explicitly marked 0 in bold :) . Just not in 6.0, will be in 6.1 probably (or later?).
-
So... according to https://wiki.qt.io/Qt_6.0_Release the plan is to have a final Qt 6.0 release on December 1st, 2020. That is in less than three months, and our codebase still heavily uses the xmlpatterns module.
How did you guys 'port away' from it so that you are ready for Qt 6.0?