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. Can't crosscompile QT5 -> STM32MP157-DK2
Qt 6.11 is out! See what's new in the release blog

Can't crosscompile QT5 -> STM32MP157-DK2

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 232 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    me-3
    wrote last edited by
    #1

    OS on PC: 6.12.73+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.73-1 (2026-02-17) x86_64
    GNU/Linux
    OS On Board: Linux buildroot 6.6.78 #2 SMP PREEMPT Thu Mar 12 14:27:12 CET 2026 armv7l GNU/Linux

    Hello,

    QT5 tries to write files to /usr/bin/ on the Board.

    :-1: Fehler: rsync ist mit Rückgabewert 23 fehlgeschlagen.
    rsync: [receiver] mkstemp "/usr/bin/.qt-sensor-demo.ByfJDz" failed: Read-only file system (30)
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.4.1]
    

    Root on the Board is read-only.

    # mount | grep -E '(^/dev|type (ext4|xfs|btrfs))'
    /dev/root on / type squashfs (ro,relatime,errors=continue)
    /dev/mmcblk0p10 on /data type ext4 (rw,relatime)
    

    Can I change the paths, where to QT5 writes its files?

    Marc

    1 Reply Last reply
    0
    • M Offline
      M Offline
      me-3
      wrote last edited by
      #5

      High SGaist,

      I think, that's what I was searching for.
      Thank You
      Marc

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote last edited by
        #2

        Hi and welcome to devnet,

        That's not enough details.
        What are you building ?
        How are you building it ?
        Which tools are you using ?
        What does trigger that rsync ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • M Offline
          M Offline
          me-3
          wrote last edited by
          #3

          Hello SGaist,
          Building: the famous "Hello" programm
          How/Tools:: QT Creator, last Version downloaded and installed with atp... QT5 integrated in buildroot, Connection over SSH with the board, (configured in Creator -> devices), Creator sends files after compiling/building to the board and generates the error messages. (lower part of Creators projekt screen "issues")
          rsync: triggered by Creator
          Sorry for the missing informations
          Marc

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote last edited by
            #4

            Did you already saw the embedded Linux deployment part of the Qt Creator documentation ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • M Offline
              M Offline
              me-3
              wrote last edited by
              #5

              High SGaist,

              I think, that's what I was searching for.
              Thank You
              Marc

              1 Reply Last reply
              0
              • M me-3 has marked this topic as solved

              • Login

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