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. What's the Qt6 equivalent to Gauge?
QtWS25 Last Chance

What's the Qt6 equivalent to Gauge?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 1.4k 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    In Qt5 there ware a linear and circular gauge QML type. The API wasn't very nice, but it was useful to show something quickly.

    I can't find any mention of it in Qt6 documentation, not even under "deprecated and removed" types in the porting guide.

    Any idea what happened to it? Any replacement?

    JKSHJ 1 Reply Last reply
    0
    • RusticusR Offline
      RusticusR Offline
      Rusticus
      wrote on last edited by Rusticus
      #2

      Can you not just use the QT5 one in your QT6 project?

      1 Reply Last reply
      0
      • A Asperamanca

        In Qt5 there ware a linear and circular gauge QML type. The API wasn't very nice, but it was useful to show something quickly.

        I can't find any mention of it in Qt6 documentation, not even under "deprecated and removed" types in the porting guide.

        Any idea what happened to it? Any replacement?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @Asperamanca said in What's the Qt6 equivalent to Gauge?:

        In Qt5 there ware a linear and circular gauge QML type....

        I can't find any mention of it in Qt6 documentation, not even under "deprecated and removed" types in the porting guide.

        Any idea what happened to it? Any replacement?

        Looks like the entire "Qt Quick Extras" module hasn't been ported to Qt 6: https://doc.qt.io/qt-5/qtquick-extras-qmlmodule.html

        The API wasn't very nice

        That's probably the main reason. Plus the fact that the Extras were designed for Qt Quick Controls 1 (which is definitely dead and buried).

        I suggest opening a feature request to create new equivalents with a nicer API.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        A 1 Reply Last reply
        1
        • JKSHJ JKSH

          @Asperamanca said in What's the Qt6 equivalent to Gauge?:

          In Qt5 there ware a linear and circular gauge QML type....

          I can't find any mention of it in Qt6 documentation, not even under "deprecated and removed" types in the porting guide.

          Any idea what happened to it? Any replacement?

          Looks like the entire "Qt Quick Extras" module hasn't been ported to Qt 6: https://doc.qt.io/qt-5/qtquick-extras-qmlmodule.html

          The API wasn't very nice

          That's probably the main reason. Plus the fact that the Extras were designed for Qt Quick Controls 1 (which is definitely dead and buried).

          I suggest opening a feature request to create new equivalents with a nicer API.

          A Offline
          A Offline
          Asperamanca
          wrote on last edited by
          #4

          @JKSH
          Thanks!
          That matches my findings so far, except that in any blog that I can find mentioning Qt Extras and Qt6, it sounds like they are only talking about platform-specific code that was dropped. The word "Gauge" never appears.

          There was also no mention in the Gauge documentation that it was related to Qt Quick Controls 1, otherwise I wouldn't have touched it.

          1 Reply Last reply
          0
          • JoeCFDJ JoeCFD referenced this topic on

          • Login

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