Boot2qt for Raspberry pi 4
-
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 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). -
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. -
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.