Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt XML Patterns deprecated since Qt 5.13: how to 'port away' from it?

Qt XML Patterns deprecated since Qt 5.13: how to 'port away' from it?

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 8 Posters 4.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bart_Vandewoestyne
    wrote on 8 Jul 2019, 13:56 last edited by
    #1

    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...

    R 1 Reply Last reply 8 Jul 2019, 14:52
    1
    • C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 8 Jul 2019, 14:16 last edited by
      #2

      You have to switch to an external validator

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • B Bart_Vandewoestyne
        8 Jul 2019, 13:56

        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...

        R Offline
        R Offline
        raven-worx
        Moderators
        wrote on 8 Jul 2019, 14:52 last edited by
        #3

        @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

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        A 1 Reply Last reply 12 Aug 2019, 11:44
        0
        • K Offline
          K Offline
          kpop
          wrote on 12 Aug 2019, 10:20 last edited by
          #4

          +1. We're also using this module and would prefer not to switch to external library for this.

          1 Reply Last reply
          0
          • R raven-worx
            8 Jul 2019, 14:52

            @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

            A Offline
            A Offline
            Asperamanca
            wrote on 12 Aug 2019, 11:44 last edited by
            #5

            @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 ahead

            First 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.

            1 Reply Last reply
            1
            • D Offline
              D Offline
              Daniel Lange
              wrote on 27 May 2020, 09:03 last edited by
              #6

              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'..

              T 1 Reply Last reply 15 Jun 2020, 08:00
              0
              • D Daniel Lange
                27 May 2020, 09:03

                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'..

                T Offline
                T Offline
                Talkless
                wrote on 15 Jun 2020, 08:00 last edited by
                #7

                @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?

                J 1 Reply Last reply 15 Jun 2020, 08:08
                0
                • T Talkless
                  15 Jun 2020, 08:00

                  @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?

                  J Offline
                  J Offline
                  JonB
                  wrote on 15 Jun 2020, 08:08 last edited by
                  #8

                  @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 .

                  T 1 Reply Last reply 15 Jun 2020, 08:16
                  0
                  • J JonB
                    15 Jun 2020, 08:08

                    @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 .

                    T Offline
                    T Offline
                    Talkless
                    wrote on 15 Jun 2020, 08:16 last edited by
                    #9

                    @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?).

                    1 Reply Last reply
                    1
                    • B Offline
                      B Offline
                      Bart_Vandewoestyne
                      wrote on 9 Sept 2020, 22:14 last edited by
                      #10

                      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?

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved