Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Questions about official procedure for cross-compilation for RPi
Forum Updated to NodeBB v4.3 + New Features

Questions about official procedure for cross-compilation for RPi

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 380 Views 2 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
    Mark81
    wrote on last edited by
    #1

    I found this "modern guide" for cross-compiling Qt for Rasbian.
    Few questions:

    1. anyone tested this for RPi4?
    2. the guide suggest to use a real RPi... I would prefer to do this using the Raspbian image mounted with losetup and systemd-nspawn to execute commands. Any drawback here?
    3. instead, if I follow the exact procedure, how to replicate the environment on other sd-card? I mean, I don't want to clone them! Usually I make a custom img file that contains the final rootfs. It would be enough to sync the /usr/local folder?
    sierdzioS 1 Reply Last reply
    0
    • M Mark81

      I found this "modern guide" for cross-compiling Qt for Rasbian.
      Few questions:

      1. anyone tested this for RPi4?
      2. the guide suggest to use a real RPi... I would prefer to do this using the Raspbian image mounted with losetup and systemd-nspawn to execute commands. Any drawback here?
      3. instead, if I follow the exact procedure, how to replicate the environment on other sd-card? I mean, I don't want to clone them! Usually I make a custom img file that contains the final rootfs. It would be enough to sync the /usr/local folder?
      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @Mark81 said in Questions about official procedure for cross-compilation for RPi:

      I found this "modern guide" for cross-compiling Qt for Rasbian.
      Few questions:

      1. anyone tested this for RPi4?

      Yes, many people. It does not work due to changes in GPU drivers in PRi4.

      1. the guide suggest to use a real RPi... I would prefer to do this using the Raspbian image mounted with losetup and systemd-nspawn to execute commands. Any drawback here?

      I don't know.

      1. instead, if I follow the exact procedure, how to replicate the environment on other sd-card? I mean, I don't want to clone them! Usually I make a custom img file that contains the final rootfs. It would be enough to sync the /usr/local folder?

      It depends where you install Qt to (what prefix dir you choose).

      (Z(:^

      M 1 Reply Last reply
      1
      • sierdzioS sierdzio

        @Mark81 said in Questions about official procedure for cross-compilation for RPi:

        I found this "modern guide" for cross-compiling Qt for Rasbian.
        Few questions:

        1. anyone tested this for RPi4?

        Yes, many people. It does not work due to changes in GPU drivers in PRi4.

        1. the guide suggest to use a real RPi... I would prefer to do this using the Raspbian image mounted with losetup and systemd-nspawn to execute commands. Any drawback here?

        I don't know.

        1. instead, if I follow the exact procedure, how to replicate the environment on other sd-card? I mean, I don't want to clone them! Usually I make a custom img file that contains the final rootfs. It would be enough to sync the /usr/local folder?

        It depends where you install Qt to (what prefix dir you choose).

        M Offline
        M Offline
        Mark81
        wrote on last edited by
        #3

        @sierdzio said in Questions about official procedure for cross-compilation for RPi:

        @Mark81 said in Questions about official procedure for cross-compilation for RPi:

        I found this "modern guide" for cross-compiling Qt for Rasbian.
        Few questions:

        1. anyone tested this for RPi4?

        Yes, many people. It does not work due to changes in GPU drivers in PRi4.

        Great.... :-(

        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