STM32MP157F-DK2
-
Hi,
I am learning how to use STM32MP157fF-DK2 board with qt .
I am built openstlinux-5.15-yocto-kirkstone-mp1-v22.07.27 and SDK on Ubuntu, with DISTRO=openstlinux-eglfs .
I flashed built image to my device and run examples.
I installed QtCreator and qt on Ubuntu , configured compiller, debuger and configured generic linux device but when I test connection I have a problem with rsync failed with exit code 127: sh: rsync: not found but I skipped it.So, I opened prepared earlier project, build and deploy, but I have some problems on target device with libraries , because I have below errors:
id: 'weston': no such user
id: 'weston': no such user
QML debugging is enabled. Only use this in a safe environment.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
No modes available for output "HDMI1"
qt.qpa.input: xkbcommon not available, not performing key mapping
QQmlApplicationEngine failed to load component
qrc:/qml/dashboard.qml:55:1: module "QtQuick.Extras" is not installed
qrc:/qml/dashboard.qml:54:1: module "QtQuick.Controls.Styles" is not installed
qrc:/qml/dashboard.qml:53:1: module "QtQuick.Controls" is not installed
qrc:/qml/dashboard.qml:55:1: module "QtQuick.Extras" is not installed
qrc:/qml/dashboard.qml:54:1: module "QtQuick.Controls.Styles" is not installed
qrc:/qml/dashboard.qml:53:1: module "QtQuick.Controls" is not installed
qrc:/qml/dashboard.qml:55:1: module "QtQuick.Extras" is not installed
qrc:/qml/dashboard.qml:54:1: module "QtQuick.Controls.Styles" is not installed
qrc:/qml/dashboard.qml:53:1: module "QtQuick.Controls" is not installed
11:20:13: Remote process crashed.Should I install the missing libraries on the target device?
-
Unfottyunatelly when I try install also qtquickcontrols like below:
IMAGE_INSTALL:append = "qtquickcontrols qtquickcontrols-qmlplugins qtquickcontrols2 qtquickcontrols2-qmlplugins"
I get errors .
Update....
I updated my device to Openstlinux-5.15-yocto-kirkstone-mp1-v24.07.17 install additional libraries by adding IMAGE_INSTALL:append = "qtquickcontrols qtquickcontrols-qmlplugins qtquickcontrols2 qtquickcontrols2-qmlplugins"
and now it works. The missing libraries are availbe ! -
@Damian7546 said in STM32MP157F-DK2:
Should I install the missing libraries on the target device?
Yes.
Usually you would cross compile Qt for your device on the host.
Here is an explanation for RaspberyPi: https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi -
@jsulm
I partly solved problem with missing libraries by adding to file:
<build_directory>/conf/local.conf -> IMAGE_INSTALL:append = "qtquickcontrols2 qtquickcontrols2-qmlplugins"
and built OpenSTLinux Image again .But still is missing:
qrc:/qml/dashboard.qml:55:1: module "QtQuick.Extras" is not installed
qrc:/qml/dashboard.qml:54:1: module "QtQuick.Controls.Styles" is not installed
qrc:/qml/dashboard.qml:55:1: module "QtQuick.Extras" is not installed
qrc:/qml/dashboard.qml:54:1: module "QtQuick.Controls.Styles" is not installed -
Unfottyunatelly when I try install also qtquickcontrols like below:
IMAGE_INSTALL:append = "qtquickcontrols qtquickcontrols-qmlplugins qtquickcontrols2 qtquickcontrols2-qmlplugins"
I get errors .
Update....
I updated my device to Openstlinux-5.15-yocto-kirkstone-mp1-v24.07.17 install additional libraries by adding IMAGE_INSTALL:append = "qtquickcontrols qtquickcontrols-qmlplugins qtquickcontrols2 qtquickcontrols2-qmlplugins"
and now it works. The missing libraries are availbe ! -
-
This post is deleted!