Talk:Cross-Compile Qt 6 for Raspberry Pi

From Qt Wiki
Revision as of 07:35, 5 November 2024 by TracerBullet (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This discussion page is intended for talks about improving the article. Feel free to suggest anything to make the page better! --Uraihan (talk) 15:14, 22 June 2022 (UTC)

Issues

This link is not reachable (inserted in the command): git clone ssh://codereview.qt-project.org/qt/qt5

ubunutu 22.04 could not find libgst-dev

Errors in the page

Following are the errors found in the step-by-step guide:

1. In the command: mkdir qt-host qt-raspi qthost-build qtpi-build, folder created is 'qthost-build' whereas later folder name is 'qt-hostbuild'.

2. In the command: rsync -avzS --rsync-path="rsync" --delete <pi_username>@<pi_ip_address>:/lib* rpi-sysroot/lib, the correction is 'pi_ip_address>:/lib/*'.(Forward Slash is missing).

3. Commands:'mkdir usr' and 'mkdir opt' are repeated unnecessarily as these folders are already created earlier by the command 'mkdir rpi-sysroot rpi-sysroot/usr rpi-sysroot/opt' on the host machine.

4. Command: 'cd $HOME/rpi-sysroot' is not needed as the following rsync commands do not work in the 'rpi-sysroot' folder.

5. The file location of "toolchain.cmake" is not clearly mentioned. It is to be saved in 'Home' folder.

Errors in the page (cont'd)

1. The package gstreamer1.0-omx is not available per se. Candidates: gstreamer1.0-omx-bellagio-config gstreamer1.0-omx-generic-config gstreamer1.0-omx-generic

2. The first Cross Compiler configuration attempt is missing a parameter setting QT_HOST_PATH. The second one seems to work... I'm still moving along.