Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. STM32MP157F-DK2
Forum Updated to NodeBB v4.3 + New Features

STM32MP157F-DK2

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 278 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Damian7546
    wrote on last edited by
    #1

    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?

    jsulmJ 1 Reply Last reply
    0
    • D Damian7546

      @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

      D Offline
      D Offline
      Damian7546
      wrote on last edited by Damian7546
      #4

      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 !

      1 Reply Last reply
      0
      • D Damian7546

        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?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @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

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        D 1 Reply Last reply
        0
        • jsulmJ jsulm

          @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

          D Offline
          D Offline
          Damian7546
          wrote on last edited by Damian7546
          #3

          @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

          D 1 Reply Last reply
          0
          • D Damian7546

            @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

            D Offline
            D Offline
            Damian7546
            wrote on last edited by Damian7546
            #4

            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 !

            1 Reply Last reply
            0
            • D Damian7546 has marked this topic as solved on
            • D Offline
              D Offline
              Damian7546
              wrote on last edited by
              #5
              This post is deleted!
              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved