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

    raven-worxR 1 Reply Last reply
    1
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 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

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

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on 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
        0
        • K Offline
          K Offline
          kpop
          wrote on 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
          • raven-worxR raven-worx

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

              TalklessT 1 Reply Last reply
              0
              • D Daniel Lange

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

                TalklessT Offline
                TalklessT Offline
                Talkless
                wrote on 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?

                JonBJ 1 Reply Last reply
                0
                • TalklessT Talkless

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

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on 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 .

                  TalklessT 1 Reply Last reply
                  0
                  • JonBJ JonB

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

                    TalklessT Offline
                    TalklessT Offline
                    Talkless
                    wrote on 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 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