Skip to main content
Associate II
April 8, 2025
Question

How to get complete Qt dependencies on STM32MP25?

I'm trying to get PySide6 and some common Python packages on my STM32MP257. "apt-get install python3-PySide6" doesn't work. I also tried to install the PySide6 package using pip3, which installed successfully, but gave me the error "ImportError: libX11.so.6: cannot open shared object file: No such file or directory" when I actually ran it. It seems to be missing some dependencies to support the Qt and GUI development I want to do. At this point, I'm stuck. I am using the STM32MP257F-DK development kit.

This topic has been closed for replies.

1 reply

PPAGE.13
ST Employee
July 1, 2025

Hi,

PySide6 is not part of the X-LINUX-QT Starter Package. There is no PySide6 debian package on our server. This is due to redistribution legal constraints.

 

You need to rebuild the Distribution to get the lib.

https://wiki.st.com/stm32mpu/wiki/X-LINUX-QT_Expansion_Package

And more specifically:

https://wiki.st.com/stm32mpu/wiki/X-LINUX-QT_Distribution_Package

with following recipe "python3-pyside6" to be added:

https://layers.openembedded.org/layerindex/recipe/380679/

 

BR,

Philippe.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.