Configuration settings are done using env vars. You can source .envrc
or
use direnv.
- Boot Raspbian up, run
raspi-config
, change it to boot to the console instead of X, change the GPU memory to 256 MB, make it auto-login, enable SSH. - With a working SSH connection to device run
ssh pi@$IP 'sudo bash -s' < build.sh
- Get libraries and sysroot from Raspbian to host by running
sync-from-pi-to-host.sh
. - Correct relative links by running
sysroot-relativelinks.py $SYSROOT
.
When qt-source is checked out, run the following to deploy qt to pi (from utils).
- init-repository-before-configure.sh
- configure-qt-before-make.sh
- cd $QT_SOURCE;
- make -j4
- make install
- sync-from-host-to-pi.sh
Sometimes checking out the stable branch helps, in qt-source run qt5_tool -p --Branch stable
;
or rm -rf $QT_SOURCE
then git submodule update
.