qt.qpa.wayland: xkbcommon not available on this build, not performing key mapping
-
Hello, I built a yocto image for the NXP IMX8M Quad using the fsl-image-qt5-validation-imx image and the fsl-wayland distro. I am running a QT application in my imx8 and when trying to enter text into a LineEdit I get "qt.qpa.wayland: xkbcommon not available on this build, not performing key mapping"
I tried doing search's for an answer to this and any solution I saw did not work for me.
Would anyone know how to fix this?
-
Hi,
What exactly did you try to fix your issue ?
Just based on the error message, it seems that you are missing the libxkbcommon package from your build. -
-
And did you check that you have libxkbcommon properly deployed on your image ?
-
Did you check that it's properly deployed on your target ?
-
That's a run time issue you have not compilation.
-
Sorry to reopen the ticket. But I think we can add an answer for whoever ends up here in the future.
I have the same issue, also had
libxkbcommon
into the image under/usr/lib/
and kept having the same error.The problem was basically on Yocto build I missed configuring the
qtbase
PACKAGECONFIG
variable to enable thexkbcommon
option.To do that, you add a new layer, create a
qtbase_%.bbappend
file and add:PACKAGECONFIG:append:<machinename> = " xkbcommon"
NOTE: If you don't add the
<machinename>
you will have failures because other packages won't have the-native
extension.
NOTE2: make sure to do that in a clean build (or clean all qt packages), other ptest will fail complaining that a configuration was changed and it doesn't know why.