qtsmarthome: fix missing runtime dependence
The demo application uses 'svg' images, so at runtime it depends on 'qtsvg-plugins' package. Also add a patch to fix a runtime warning: Both point size and pixel size set. Using pixel size https://jira.digi.com/browse/DEL-3912 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
e623c365ff
commit
48ff14dc78
|
|
@ -0,0 +1,24 @@
|
||||||
|
From: Javier Viguera <javier.viguera@digi.com>
|
||||||
|
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 <javier.viguera@digi.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -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"
|
||||||
Loading…
Reference in New Issue