mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-06 14:14:36 +02:00
qt5nmapper app fails to run with the following error:
file:///usr/share/qt5nmapper-1.0/Qt5_NMapper.qml:34:5: Type Panel unavailable
Panel {
^
file:///usr/share/qt5nmapper-1.0/content/Panel.qml:118:9: Type Switch unavailable
Switch {
^
file:///usr/share/qt5nmapper-1.0/content/Switch.qml:8:21: Cannot assign a value to a signal (expecting a script to be run)
property string onText: "On"
This patch changes the string from onText to onTextstring which was
introduced with Qt 5.3
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
27 lines
708 B
Diff
27 lines
708 B
Diff
qt5nmapper: Change property string to onTextString
|
|
|
|
Upstream-Status: Pending
|
|
|
|
diff --git a/content_org/Switch.qml b/content/Switch.qml
|
|
index 08a2cba..a8b8b26 100644
|
|
--- a/content_org/Switch.qml
|
|
+++ b/content/Switch.qml
|
|
@@ -5,7 +5,7 @@ Item {
|
|
|
|
property alias text: textItem.text
|
|
property bool checked: false
|
|
- property string onText: "On"
|
|
+ property string onTextString: "On"
|
|
property string offText: "Off"
|
|
|
|
QtObject {
|
|
@@ -76,7 +76,7 @@ Item {
|
|
color: "#000000"
|
|
font.pixelSize: 18
|
|
font.bold: true
|
|
- text: onText
|
|
+ text: onTextString
|
|
}
|
|
Text {
|
|
anchors.verticalCenter: parent.verticalCenter
|