cancel
Showing results for 
Search instead for 
Did you mean: 

Assistance Required for Running QT Project with Charts on STM32MP157F-DK2

medex
Associate

Dear STM32 Forum Community,

I am currently working with the STM32MP157F-DK2 development kit and have encountered an issue while trying to run a QT project that includes graphical elements.

Issue Description:

When attempting to execute the QT project, I receive the following error:


root@stm32mp1:/usr/local# ./demo_current_project
./demo_current_project: error while loading shared libraries: libQt5Charts.so.5: cannot open shared object file: No such file or directory

Steps Taken:

  1. Successfully ran QT projects without graphical components.
  2. Ensured that all necessary QT libraries are installed on the system.
  3. I have followed https://wiki.st.com/stm32mpu/wiki/How_to_build_and_use_an_SDK_for_QT for QT Implemetation

Despite these efforts, the problem persists. I suspect that there might be an issue related to the library path or an incomplete library installation.

Request:

Could anyone provide guidance or suggest steps to resolve this issue? Specifically, I need assistance with:

  1. Confirming the presence and proper installation of libQt5Charts.so.5.
  2. Correcting any potential misconfigurations in the library path.
  3. Any additional dependencies that might be required for running QT projects with graphical components on the STM32MP157F-DK2.

Your expertise and assistance would be greatly appreciated.

System Details:

  • Development Kit: STM32MP157F-DK2
  • OS: OpenSTLinux (weston/wayland)

Thank you in advance for your support and guidance.

0 REPLIES 0