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 6 circular gauge issue
Forum Updated to NodeBB v4.3 + New Features

Qt 6 circular gauge issue

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 4 Posters 2.1k Views 2 Watching
  • 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
    Mete_43
    wrote on last edited by
    #1

    Hello everyone!

    I am developing a qml app in qt5 with circular gauge. I want to port application qt 6. But in qt 6 qtquick extras is missing, so circular gauge is not available. Is qt planning to make it available in next releases of qt6? What can I do instead of using circular gauge in qt6?
    Is there anyone who knows about it?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bee65
      wrote on last edited by
      #2

      I was able to get the CircularGauge working with Qt 6.2 without too much effort, using source code from qt5. The dependence on Qt.Controls 1 is not too hard to work around. I added the C++ RangeModel to my app and I simply inlined the Style components into CircularGauge and CircularTickmarkLabel.

      T K 2 Replies Last reply
      0
      • B bee65

        I was able to get the CircularGauge working with Qt 6.2 without too much effort, using source code from qt5. The dependence on Qt.Controls 1 is not too hard to work around. I added the C++ RangeModel to my app and I simply inlined the Style components into CircularGauge and CircularTickmarkLabel.

        T Offline
        T Offline
        Tuan Le
        wrote on last edited by
        #3

        @bee65 said in Qt 6 circular gauge issue:

        inlined the Style components into

        Hi Bee65, I'm also struggling with this topic. Could you please share your code some where? Thanks!

        B 1 Reply Last reply
        0
        • T Tuan Le

          @bee65 said in Qt 6 circular gauge issue:

          inlined the Style components into

          Hi Bee65, I'm also struggling with this topic. Could you please share your code some where? Thanks!

          B Offline
          B Offline
          bee65
          wrote on last edited by
          #4

          @Tuan-Le
          Sure, my modifications are here: https://memory-map.com/download/CircularGauge.zip

          (Same copyright and license terms as the original code)

          T 1 Reply Last reply
          0
          • B bee65

            @Tuan-Le
            Sure, my modifications are here: https://memory-map.com/download/CircularGauge.zip

            (Same copyright and license terms as the original code)

            T Offline
            T Offline
            Tuan Le
            wrote on last edited by
            #5

            @bee65 Thanks Bee. That helps!

            1 Reply Last reply
            0
            • B bee65

              I was able to get the CircularGauge working with Qt 6.2 without too much effort, using source code from qt5. The dependence on Qt.Controls 1 is not too hard to work around. I added the C++ RangeModel to my app and I simply inlined the Style components into CircularGauge and CircularTickmarkLabel.

              K Offline
              K Offline
              Kenz Dale
              wrote on last edited by
              #6

              @bee65 Silly question, but what is the right way to incorporate this into a qmake project? I can see how to brute force it by individually including the files into the project, but I feel like there's probably some smart way to include this entire component as an atomic third-party directory.

              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