Boot2qt for Raspberry pi 4
-
wrote on 28 Oct 2024, 08:41 last edited by
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.htmlBut 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? -
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.htmlBut 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?@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
-
@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
wrote on 28 Oct 2024, 10:11 last edited by@jsulm What do you mean by that?
-
@jsulm What do you mean by that?
@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). -
wrote on 28 Oct 2024, 11:56 last edited by 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:
@Said_hrele What Python version do you use?
And please post errors as text, not pictures. -
wrote on 28 Oct 2024, 12:09 last edited by
Python 3.11.9
-
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. -
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.wrote on 28 Oct 2024, 12:24 last edited by@jsulm Oke thanks for all the help
1/9