Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt 5.11: Quick Controls 1 deprecated
QtWS25 Last Chance

Qt 5.11: Quick Controls 1 deprecated

Scheduled Pinned Locked Moved Solved QML and Qt Quick
10 Posts 4 Posters 2.8k 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.
  • M Offline
    M Offline
    maxwell31
    wrote on last edited by
    #1

    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?

    sierdzioS 1 Reply Last reply
    0
    • M maxwell31

      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?

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @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
      0
      • M Offline
        M Offline
        maxwell31
        wrote on last edited by
        #3

        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
        0
        • M Offline
          M Offline
          maxwell31
          wrote on last edited by
          #4

          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?

          sierdzioS 1 Reply Last reply
          0
          • M maxwell31

            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?

            sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            @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
            2
            • M Offline
              M Offline
              maxwell31
              wrote on last edited by
              #6

              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.

              GPBetaG 1 Reply Last reply
              2
              • M maxwell31

                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.

                GPBetaG Offline
                GPBetaG Offline
                GPBeta
                wrote on last edited by
                #7

                @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
                1
                • sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #8

                  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
                  1
                  • M Offline
                    M Offline
                    maxwell31
                    wrote on last edited by
                    #9

                    TableView yes, but I missed TreeView and SplitView.

                    1 Reply Last reply
                    1
                    • jpnurmiJ Offline
                      jpnurmiJ Offline
                      jpnurmi
                      wrote on last edited by
                      #10

                      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
                      4

                      • Login

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