diff --git a/meta-digi-dey/recipes-qt/examples/qtsmarthome-1.0/0001-qtsmarthome-fix-runtime-warning.patch b/meta-digi-dey/recipes-qt/examples/qtsmarthome-1.0/0001-qtsmarthome-fix-runtime-warning.patch new file mode 100644 index 000000000..4ed074e69 --- /dev/null +++ b/meta-digi-dey/recipes-qt/examples/qtsmarthome-1.0/0001-qtsmarthome-fix-runtime-warning.patch @@ -0,0 +1,24 @@ +From: Javier Viguera +Date: Tue, 8 Aug 2017 18:17:46 +0200 +Subject: [PATCH] qtsmarthome: fix runtime warning + +Both point size and pixel size set. Using pixel size. + +Signed-off-by: Javier Viguera +--- + components/qml/components/timepicker/PickerPathView.qml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/components/qml/components/timepicker/PickerPathView.qml b/components/qml/components/timepicker/PickerPathView.qml +index 7038331e3aae..1987d72e32b9 100644 +--- a/components/qml/components/timepicker/PickerPathView.qml ++++ b/components/qml/components/timepicker/PickerPathView.qml +@@ -74,7 +74,7 @@ PathView { + verticalAlignment: Text.AlignVCenter + text: modelData + Component.onCompleted: { +- font.pointSize = font.pointSize * 0.8 ++ font.pixelSize = font.pixelSize * 0.8 + } + } + diff --git a/meta-digi-dey/recipes-qt/examples/qtsmarthome_1.0.bbappend b/meta-digi-dey/recipes-qt/examples/qtsmarthome_1.0.bbappend new file mode 100644 index 000000000..b6f12c13a --- /dev/null +++ b/meta-digi-dey/recipes-qt/examples/qtsmarthome_1.0.bbappend @@ -0,0 +1,7 @@ +# Copyright (C) 2017, Digi International Inc. + +FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:" + +SRC_URI += "file://0001-qtsmarthome-fix-runtime-warning.patch" + +RDEPENDS_${PN} += "qtsvg-plugins"