Cross Compiling Qt 5.10.1 for Raspberry Pi 3 on Ubuntu 18.04 LTS

Download raspbian stretch

Install SD card, boot and configure wifi on raspbian
Edit /etc/apt/sources.lst and uncomment deb-src line


Second update after reboot

# Install packages

# Shutdown raspberry pi, remove SD card, make an image and mount

# Find sector size and sector start of 2nd partition

Mount image as filesystem

Make symbolic links relative

# Download raspberry cross-compiler

# Download QT 5.9.6 or 5.10.1 (5.11 needs a fully C++11 compliant compiler)

# Unzip QT

# Create helper environment variables

# Configure Qt

# Optional:

# Compile Qt

Leave a Reply

Your email address will not be published. Required fields are marked *