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?

What's the Qt6 equivalent to Gauge?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 1.5k 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 6 Dec 2022, 15:59 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?

    J 1 Reply Last reply 7 Dec 2022, 02:48
    0
    • R Offline
      R Offline
      Rusticus
      wrote on 6 Dec 2022, 17:30 last edited by Rusticus 12 Jun 2022, 17:31
      #2

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

      1 Reply Last reply
      0
      • A Asperamanca
        6 Dec 2022, 15:59

        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?

        J Offline
        J Offline
        JKSH
        Moderators
        wrote on 7 Dec 2022, 02:48 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 7 Dec 2022, 08:46
        1
        • J JKSH
          7 Dec 2022, 02:48

          @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 7 Dec 2022, 08:46 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
          • J JoeCFD referenced this topic on 24 Mar 2023, 16:00

          1/4

          6 Dec 2022, 15:59

          • Login

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