Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Qt 5.11: Quick Controls 1 deprecated

    QML and Qt Quick
    4
    10
    2305
    Loading More Posts
    • 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.
    • M
      maxwell31 last edited by

      Hi,

      I read in https://wiki.qt.io/New_Features_in_Qt_5.11 that Qt Quick Controls 1 are deprecated. Does it mean Qt Quick Controls 1 in general (so that 1.4 stays in Qt) or actually all version 1 controls?

      sierdzio 1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators @maxwell31 last edited by

        @maxwell31 said in Qt 5.11: Quick Controls 1 deprecated:

        Does it mean Qt Quick Controls 1 in general (so that 1.4 stays in Qt) or actually all version 1 controls?

        Can you rephrase that question? I have no idea what you mean.

        Deprecated means roughly "it won't be developed further, only bug fixes will be done, you should not use it in new projects". QtQuick.Controls 1 will not be removed from Qt (not right now at least).

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • M
          maxwell31 last edited by

          So here the excerpt from the Release notes:

          Deprecated Modules
          
          The following modules are part of Qt 5.11 release, but deprecated and considered for removal in subsequent releases of Qt:
          
          Qt Script
          Qt Quick Controls 1
          

          I meant whether this means that QtQuick.Controls 1.0 will be removed or whether also QtQuick.Controls 1.4 will be removed (most likely it means QtQuick.Controls 1.x).

          My situation: I am developing a desktop application which will be released in approx. 1.5 years. For my application, I want to use the SplitView, which is in QtQuick.Controls 1.4. I guess that e.g. in 5.12 or 5.13 new useful features for QtQuick.Controls 2.x will be introduced. However, I am worried, that I will not be able to use SplitView anymore, as it is deprecated already in 5.11 and might be removed e.g. in 5.12 or 5.13.

          1 Reply Last reply Reply Quote 0
          • M
            maxwell31 last edited by

            So for me especially "you should not use it in new projects" is relevant. However, there seems to be no alternative for SplitView in QtQuick.Controls 2, right?

            sierdzio 1 Reply Last reply Reply Quote 0
            • sierdzio
              sierdzio Moderators @maxwell31 last edited by

              @maxwell31 said in Qt 5.11: Quick Controls 1 deprecated:

              So for me especially "you should not use it in new projects" is relevant. However, there seems to be no alternative for SplitView in QtQuick.Controls 2, right?

              The whole module will be removed.

              However, that's not going to happen soon. Take QtScript as an example: it is deprecated since Qt 5.0, yet it is still shipped with Qt today. For more info, check the Qt mailing list where this was discussed in depth. http://lists.qt-project.org/pipermail/development/2018-February/032073.html

              (Z(:^

              1 Reply Last reply Reply Quote 2
              • M
                maxwell31 last edited by

                Thanks for the link. I guess it makes complete sense to remove Quick Controls 1. I just hope they will implement features like SplitView and TreeView in QC2 then.

                GPBeta 1 Reply Last reply Reply Quote 2
                • GPBeta
                  GPBeta @maxwell31 last edited by

                  @maxwell31 said in Qt 5.11: Quick Controls 1 deprecated:

                  Thanks for the link. I guess it makes complete sense to remove Quick Controls 1. I just hope they will implement features like SplitView and TreeView in QC2 then.

                  Agree, I also think that TreeView and TableView in Qt Quick Controls 1 are still far from satisfactory for use currently.

                  \BAKA BAKA/

                  1 Reply Last reply Reply Quote 1
                  • sierdzio
                    sierdzio Moderators last edited by

                    As mentioned in the mail conversation I linked to: most of these missing components are either planned or already being worked upon.

                    (Z(:^

                    1 Reply Last reply Reply Quote 1
                    • M
                      maxwell31 last edited by

                      TableView yes, but I missed TreeView and SplitView.

                      1 Reply Last reply Reply Quote 1
                      • jpnurmi
                        jpnurmi last edited by

                        You should be safe using Qt Quick Controls 1. There's still a lot of QQC1 based projects out there. The Qt project cannot just go and remove something that breaks all these projects, not until the next major version is released (no immediate plans according to my knowledge). In fact, announcing QQC1 deprecated doesn't really change anything. It just reflects the reality that QQC1 hasn't been actively developed for over 3 years now. Only critical bugs and blockers have gained any attention, and will continue to do so regardless of the deprecation.

                        1 Reply Last reply Reply Quote 4
                        • First post
                          Last post