How to create LED indicator in QML
Solved
QML and Qt Quick
-
Use
Rectangle
with radius and border. Colors can be changed via states. -
@ndias said in How to create LED indicator in QML:
Hi @James-A,
You can use StatusIndicator QML Type if you are using Qt5:
https://doc.qt.io/qt-5/qml-qtquick-extras-statusindicator.htmlRegards
Hi,
A bit related - I have a project that used Qt5.13 and the StatusIndicator QML type. After upgrading the project to Qt6, I now get the error: module "QtQuick.Extras" is not installedI have since discovered, that these controls have moved to the Enterprise Controls?
https://doc.qt.io/QtQuickEnterpriseControls/qml-qtquick-enterprise-controls-statusindicator.htmlSo I am not able to use it in this standard Open Source project anymore?