Regarding Gauge control in Qt6
-
Hi Team,
In my project, I am using QML Gauge component and our project is implemented on Qt5.15.x.
Now, we are porting our project to Qt6.x and found Gauge component is not available in Qt6.
So, I thought of taking the source of Gauge.qml component (from Qt sources: \5.15.13\Src\qtquickcontrols\src\extras) and integrate it with my application but ended up with error like "RangeModel is not a type".Gauge.qml is using RangeModel component, but I did not found the source of RangeModel.qml
I am NOT very much experienced in Qt-Qml and am not very sure doing this way is Right or Wrong. Can someone please suggest me on this ?
-
@JoeCFD - Thank you. I could able to find the RangeModel source in Qt 5.15.x source.
I have started doing a separate POC for a Gauge component from Qt sources. But, I feel it is difficult to implement it, as we have to resolve multiple dependencies and include multiple headers (I dont have idea about Qt headers and its implementations).
Do you feel any other better solution.
Finally, I need to implement a control as shown in below attachment
In Qt5.15.x, I have used combination of slider and Gauge components for displaying below control But, Qt 6.x does not support gauge component.So, can you please suggest how can I implement below component in Qt 6.x ?
-
-
This post is deleted!