Changing background image of home screen-FF 6.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
        I am trying to change the background image of AGL homescreen, for that I've  added homescreen_git.bbappend , ChangeHomeScreenBackground.patch and AGL_New.png in files at meta-agl-demo/recipes-demo-hmi/homescreen path. After flashing image with above changes, I am still getting "AGL_HMI_Blue_Background_NoCar-01.png" as background image.Newly added image creating under "homescreen" folder.
How to copy a new image to homescreen/qml/images location using *.bbappend file? Does do_install(){} will do that?

Attached the patch file and *.bbappend file for reference.

Regards,
-Madhu.

Attachment: homescreen_git.bbappend
Description: Binary data

diff --git a/homescreen/qml/images/images.qrc b/homescreen/qml/images/images.qrc
index 37ad676..5c134fa 100644
--- a/homescreen/qml/images/images.qrc
+++ b/homescreen/qml/images/images.qrc
@@ -5,6 +5,7 @@
         <file>Utility_Logo_Grey-01.svg</file>
         <file>Utility_Music_Background-01.png</file>
         <file>Utility_Radio_Background-01.png</file>
+        <file>../../../../AGL_New.png</file>
         <file>AGL_HMI_Blue_Background_NoCar-01.png</file>
     </qresource>
 </RCC>
diff --git a/homescreen/qml/main.qml b/homescreen/qml/main.qml
index 96a1950..d246374 100644
--- a/homescreen/qml/main.qml
+++ b/homescreen/qml/main.qml
@@ -33,7 +33,7 @@ Window {
         width: 1080
         height: 1920
         scale: screenInfo.scale_factor()
-        source: './images/AGL_HMI_Blue_Background_NoCar-01.png'
+        source: '../../../AGL_New.png'
 
         ColumnLayout {
             anchors.fill: parent


_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux