Hi Denys & Ryan,

On 04/06/24 21:38, Denys Dmytriyenko wrote:
On Mon, Jun 03, 2024 at 02: 52: 55PM +0530, Chirag Shilwant via lists. yoctoproject. org wrote: > From: Sai Sree Kartheek Adivi <s-adivi@ ti. com> > > - For QT apps to use physical keyboard, xkbcommon has to be added in > PACKAGECONFIG. 
ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.
Do not click links or open attachments unless you recognize the source of this email and know the content is safe. If you wish to report this message to IT Security, please forward the message as an attachment to [email protected]
ZjQcmQRYFpfptBannerEnd
On Mon, Jun 03, 2024 at 02:52:55PM +0530, Chirag Shilwant via 
lists.yoctoproject.org wrote:
> From: Sai Sree Kartheek Adivi <[email protected]>
> > - For QT apps to use physical keyboard, xkbcommon has to be added in
> PACKAGECONFIG. This was supported until 09.01 using xkbcommon-evdev which at
> present is an invalid PACKAGECONFIG & hence was dropped from meta-arago [1].
> > - Hence, add xkbcommon to PACKAGECONFIG which will enable the use of
> physical keyboard in QT apps.
> > [1]: https://git.ti.com/cgit/arago-project/meta-arago/commit/?h=scarthgap&id=de16946741249265a38acb7bb503b39a0c2b4175 > > Signed-off-by: Chirag Shilwant <[email protected]>
> ---
>  meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend | 2 ++
>  1 file changed, 2 insertions(+)
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend b/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
> index b1205b5a..6f94c574 100644
> --- a/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
> +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
> @@ -4,6 +4,8 @@ GLES_EXTRA_DEPS = "libdrm wayland"
> > PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl ${GLES_EXTRA_DEPS}" > > +PACKAGECONFIG:append:k3 = " xkbcommon"

This would make the package machine-specific - why is it only applicable to k3?


For non k3 based platforms, with the removal of Matrix GUI I don't see
any QT Demos under meta-arago-demos which might need the keyboard
functionality [Ryan correct me if we have any QT demo applicable for
non k3 based platform which needs keyboard].

For k3 platforms, we have TI Apps Launcher (a QT based OOB demo) for which
xkbcommon is needed & hence I made this change machine specific.


Btw, Denys do you have any background on why does meta-qt5 just in case of Wayland doesn't support this keyboard enablement by default though I see for x11 they add 'xkbcommon' in
PACKAGECONFIG by default [1]

[1]: https://github.com/meta-qt5/meta-qt5/blob/scarthgap/recipes-qt/qt5/qtbase_git.bb#L70




> +
>  PR:append = ".arago17"
> > QT_CONFIG_FLAGS += "-qpa ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'eglfs', d)}" > -- > 2.34.1







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15367): 
https://lists.yoctoproject.org/g/meta-arago/message/15367
Mute This Topic: https://lists.yoctoproject.org/mt/106458499/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to