Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
QDS 2.1 Beta2
-
None
Description
- Add a slider to your qml
- Make a connection e.g. onMoved as shown in the image Connection_View
- Qml scene output give following information Screen01.ui.qml:21:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function
Qml code generated:
import QtQuick 2.12 import untitled 1.0 import QtQuick.Controls 2.0 Rectangle { width: Constants.width height: Constants.height color: Constants.backgroundColor Text { text: qsTr("Hello untitled") anchors.centerIn: parent font.family: Constants.font.family } Slider { id: slider value: 0.5 Connections { target: slider onMoved: console.log("clicked") } } }