Khem Raj 6b29b21775 cinematicexperience: Fix file permissions for non-root user
When running this demo under non-root user it often does not come up
because the asset are non-readable for non-root users e.g. weston user
when running weston based images.

Fixes
raspberrypi4-64:/usr/share/cinematicexperience-1.0$ ./Qt5_CinematicExperience
file:///usr/share/cinematicexperience-1.0/Qt5_CinematicExperience.qml:30:5: Type InfoView unavailable
         InfoView {
         ^
file:///usr/share/cinematicexperience-1.0/content/InfoView.qml: Permission denied
^C

buildhistory view after the change

--- a/packages/cortexa72-yoe-linux-musl/cinematicexperience/sysroot
+++ b/packages/cortexa72-yoe-linux-musl/cinematicexperience/sysroot
@@ -5,11 +5,11 @@ drwxr-xr-x -          -                4096 ./usr/share
 drwxr-xr-x -          -                4096 ./usr/share/cinematicexperience-1.0
 drwxr-xr-x -          -                4096 ./usr/share/cinematicexperience-1.0/content
 -rw-r--r-- -          -                1184 ./usr/share/cinematicexperience-1.0/content/Background.qml
--rw------- -          -                2868 ./usr/share/cinematicexperience-1.0/content/Button.qml
--rw------- -          -                1777 ./usr/share/cinematicexperience-1.0/content/CurtainEffect.qml
+-rw-r--r-- -          -                2868 ./usr/share/cinematicexperience-1.0/content/Button.qml
+-rw-r--r-- -          -                1777 ./usr/share/cinematicexperience-1.0/content/CurtainEffect.qml
 -rw-r--r-- -          -                3284 ./usr/share/cinematicexperience-1.0/content/DelegateItem.qml
 -rw-r--r-- -          -                5499 ./usr/share/cinematicexperience-1.0/content/DetailsView.qml
--rw------- -          -                 844 ./usr/share/cinematicexperience-1.0/content/FpsItem.qml
+-rw-r--r-- -          -                 844 ./usr/share/cinematicexperience-1.0/content/FpsItem.qml
 drwxr-xr-x -          -                4096 ./usr/share/cinematicexperience-1.0/content/images
 -rw-r--r-- -          -               88497 ./usr/share/cinematicexperience-1.0/content/images/10.png
 -rw-r--r-- -          -              106319 ./usr/share/cinematicexperience-1.0/content/images/11.png
@@ -63,11 +63,11 @@ drwxr-xr-x -          -                4096 ./usr/share/cinematicexperience-1.0/
 -rw-r--r-- -          -                5854 ./usr/share/cinematicexperience-1.0/content/images/switch_frame.png
 -rw-r--r-- -          -                2383 ./usr/share/cinematicexperience-1.0/content/images/switch_on.png
 -rw-r--r-- -          -                3366 ./usr/share/cinematicexperience-1.0/content/images/switch_thumb.png
--rw------- -          -                 727 ./usr/share/cinematicexperience-1.0/content/InfoViewItem.qml
--rw------- -          -               10046 ./usr/share/cinematicexperience-1.0/content/InfoView.qml
+-rw-r--r-- -          -                 727 ./usr/share/cinematicexperience-1.0/content/InfoViewItem.qml
+-rw-r--r-- -          -               10046 ./usr/share/cinematicexperience-1.0/content/InfoView.qml
 -rw-r--r-- -          -                8136 ./usr/share/cinematicexperience-1.0/content/MainView.qml
--rw------- -          -               15431 ./usr/share/cinematicexperience-1.0/content/MoviesModel.qml
--rw------- -          -                 794 ./usr/share/cinematicexperience-1.0/content/RatingsItem.qml
+-rw-r--r-- -          -               15431 ./usr/share/cinematicexperience-1.0/content/MoviesModel.qml
+-rw-r--r-- -          -                 794 ./usr/share/cinematicexperience-1.0/content/RatingsItem.qml
 -rw-r--r-- -          -                4155 ./usr/share/cinematicexperience-1.0/content/SettingsView.qml
 -rw-r--r-- -          -                5020 ./usr/share/cinematicexperience-1.0/content/Switch.qml
 -rwxr-xr-x -          -                9960 ./usr/share/cinematicexperience-1.0/Qt5_CinematicExperience

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2022-05-16 13:52:09 +02:00
2021-08-03 13:38:16 +02:00
2022-02-22 07:51:32 -03:00
2021-01-22 12:00:07 +01:00
2022-02-22 12:53:10 +01:00

Qt5 OpenEmbedded/Yocto Project layer

This layer depends on:

URI: https://github.com/openembedded/openembedded-core (branch: master)

When building stuff like qtdeclarative, qtquick, qtwebkit, make sure that you have required PACKAGECONFIG options enabled in qtbase build, see qtbase recipe for detail.

Some recipes like qtwebengine would need 32bit multilib compiler on build host, especially when target to be built is 32bit, e.g. arm since it builds v8 engine which requires $CC -m32 to work, so ensure that host compiler can generate 32bit code, on archlinux distributions this would be

pacman -S lib32-gcc-libs lib32-glibc

Contributing

Please submit any patches against the meta-qt5 layer by using the GitHub pull-request feature. Fork the repo, make a branch, do the work, rebase from upstream, create the pull request, yada-yada.

Maintainers

Yocto Project Compatible

Yocto Project Compatible

meta-qt5 has Yocto Project Compatible status since 2013. Check it at: https://www.yoctoproject.org/product/meta-qt5

Description
No description provided
Readme 4.6 MiB
Languages
BitBake 95.2%
Python 4%
Roff 0.7%