Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/psamim/qt-raspberry

My scripts, docs and helpers to compile qt for raspberry pi
https://github.com/psamim/qt-raspberry

qt raspberry raspberry-pi

Last synced: about 1 month ago
JSON representation

My scripts, docs and helpers to compile qt for raspberry pi

Awesome Lists containing this project

README

        

* Configurations
Configuration settings are done using env vars. You can source =.envrc= or
use [[https://github.com/direnv/direnv][direnv]].

* Steps
1. 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.
2. With a working SSH connection to device run =ssh pi@$IP 'sudo bash -s' < build.sh=

* Get Libraries for Compiling Qt on Desktop PC
2. Get libraries and sysroot from Raspbian to host by running =sync-from-pi-to-host.sh=.
3. Correct relative links by running =sysroot-relativelinks.py $SYSROOT=.

* Compile and Deploy Qt to Raspberry
When qt-source is checked out, run the following to deploy qt to pi (from utils).

1. init-repository-before-configure.sh
2. configure-qt-before-make.sh
3. cd $QT_SOURCE;
4. make -j4
5. make install
6. sync-from-host-to-pi.sh

* Troubleshooting
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=.