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. Boot2qt for Raspberry pi 4
Forum Updated to NodeBB v4.3 + New Features

Boot2qt for Raspberry pi 4

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 2 Posters 920 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.
  • S Offline
    S Offline
    Said_hrele
    wrote on last edited by
    #1

    Hi,
    I 'm having a problem with making my raspberry pi 4 (with the boot2qt sd image) boot my own project at startup. I tried following the steps on :https://doc.qt.io/Boot2Qt/b2qt-qsg-raspberry.html

    But after the "export MACHINE=raspberrypi-armv8 && source ./setup-environment.sh" command i got an error that said that "bash: ./setup-environment.sh: No such file or directory".
    I'm running these commands in the build directory shown in the image below.
    Does anyone know what i am doing wrong here?

    3e21e883-ad09-4afb-b36b-33e760e54028-image.png

    79ab8188-47ed-4f82-982b-b530813dd757-image.png

    jsulmJ 1 Reply Last reply
    0
    • S Said_hrele

      Hi,
      I 'm having a problem with making my raspberry pi 4 (with the boot2qt sd image) boot my own project at startup. I tried following the steps on :https://doc.qt.io/Boot2Qt/b2qt-qsg-raspberry.html

      But after the "export MACHINE=raspberrypi-armv8 && source ./setup-environment.sh" command i got an error that said that "bash: ./setup-environment.sh: No such file or directory".
      I'm running these commands in the build directory shown in the image below.
      Does anyone know what i am doing wrong here?

      3e21e883-ad09-4afb-b36b-33e760e54028-image.png

      79ab8188-47ed-4f82-982b-b530813dd757-image.png

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

      @Said_hrele said in Boot2qt for Raspberry pi 4:

      "bash: ./setup-environment.sh: No such file or directory".

      Then use absolute path to setup-environment.sh

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

      S 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Said_hrele said in Boot2qt for Raspberry pi 4:

        "bash: ./setup-environment.sh: No such file or directory".

        Then use absolute path to setup-environment.sh

        S Offline
        S Offline
        Said_hrele
        wrote on last edited by
        #3

        @jsulm What do you mean by that?

        jsulmJ 1 Reply Last reply
        0
        • S Said_hrele

          @jsulm What do you mean by that?

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

          @Said_hrele The error message is quite clear - ./setup-environment.sh was not found.
          Do you know what ./ means? It looks in current working directory. That means: ./setup-environment.sh tries to execute setup-environment.sh script from current working directory. If the script is somewhere else it cannot be found. That's why I suggested to use an absolute path to the script (https://www.redhat.com/en/blog/linux-path-absolute-relative).

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Said_hrele
            wrote on last edited by Said_hrele
            #5

            Oke, thanks for the explanation. I only have one last question about building a QBSP for Boot to Qt. When I used the command "bitbake meta-b2qt-embedded-qbsp" I got this error:

            image.png

            jsulmJ 1 Reply Last reply
            0
            • S Said_hrele

              Oke, thanks for the explanation. I only have one last question about building a QBSP for Boot to Qt. When I used the command "bitbake meta-b2qt-embedded-qbsp" I got this error:

              image.png

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

              @Said_hrele What Python version do you use?
              And please post errors as text, not pictures.

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Said_hrele
                wrote on last edited by
                #7

                Python 3.11.9

                1 Reply Last reply
                0
                • jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Ah, fcntl is UNIX/Linux only. I never used Boot2Qt so don't know whether it works on Windows.
                  Since Boot2Qt is commercial you should ask QtCompany directly for support.

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

                  S 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    Ah, fcntl is UNIX/Linux only. I never used Boot2Qt so don't know whether it works on Windows.
                    Since Boot2Qt is commercial you should ask QtCompany directly for support.

                    S Offline
                    S Offline
                    Said_hrele
                    wrote on last edited by
                    #9

                    @jsulm Oke thanks for all the help

                    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