Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/psamim/qt-raspberry
- Owner: psamim
- Created: 2016-10-18T06:44:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-26T13:16:07.000Z (about 8 years ago)
- Last Synced: 2024-11-12T00:28:04.255Z (3 months ago)
- Topics: qt, raspberry, raspberry-pi
- Language: Shell
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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=.