Raspberry Pi tricks and tips
Various tricks and tips for users of Raspberry Pis, mainly with Raspbian distribution. These tips and tricks grows over time.
Various tricks and tips for users of Raspberry Pis, mainly with Raspbian distribution. These tips and tricks grows over time.
How to build up-to-date Qt 5.12 LTS release with proper hardware acceleration support for Raspberry Pi on Raspberry Pi OS (aka Raspbian) Debian Buster.
The tutorial on building Qt 5.10 on Raspberry Pi has been tested and checked, added more details on optional packages and a workaround for issues with Broadcom OpenGL librarie filenames on default installations. The same instructions have also been tested on the latest version, 5.11.1 and found to work just fine (just adjust version in downloads and commands!).
Tutorial on how to build native Qt Creator 4.12.2 to run on a Raspberry Pi, against Qt 5.12 or later.
Raspbian based on Debian Stretch comes with an old (5.7.1) version of Qt that is already outdated and missing some features and modules. Afaik there are no up-to-date backports so the only way to get an up to date version version of Qt with all features enabled running on your Pi is to build it yourself.
Instructions on how to prepare a Debian Raspbian for headless USB serial console use on a Raspberry Pi Zero, Zero W, A and A+ boards using USB OTG (gadget) mode. Note that these are the only models where it is possible to do so as they don't have a USB hub and the OTG mode is available for use.
Various Raspberry Pi related tutorials has been updated and fixed. There is now a new tutorial for building Qt on Raspbian Stretch, a QtQuick example and various updates to the 64-bit tools and kernel build tutorials.
So now you have a shiny new Qt build on your Raspberry Pi. Now what ? Testing!
This tutorial presents a very simple, sort-of a Hello World QtQuick applications.
Start your favorite editor (nano, vi, emacs, editor-of-choice) and paste the following code into it and then save it as main.qml