- Add missing required XCB/X11 packages.- Reference to update version 5.12.10, use /opt/Qt/5.12.10 prefix.- Reference to update version 5.12.8, use apt, add section about building webengine.- Fix wrong version leftovers, add Pi 4 platform option.- Use Qt mkspecs for configuration as configure overrides, even if it should work, does not work as documented.Added example Pi model specific CFLAGS & CXXFLAGS. - Removed old fake cross compiled way. - Initial ( beta) version for Qt 5.12 published.Tutorial changelogĪs this tutorial evolves over time, changes are logged here. Anyway, it is also very easy to skip building of modules that you don't need. This tutorial is written for the full source of version 5.12.10, it is fully possible to build only parts using the split up Qt submodule sources packages, but this tutorial will not go into that at this time. Fix for EGL library detection (Not needed for Pi 4).Setup Qt mkspecs configuration for Raspberry Pi.Checking the Qt source package integrity.In short it consist of the following steps: You can optionally add X11 and/or Wayland support by installing the required development packages, they are described in the Optional features table below.īuilding Qt on the Raspberry Pi is pretty straightforward, there is one Pi specific configuration that needs to be made. These instructions will build version of Qt that uses the eglfs interface by default and therefore runs applications fullscreen. A tutorial for Qt 6.2 LTS on Buster & Bullseye is also available. Note: A Qt 5.15.7 specific tutorial is available here and is highly recommended using Qt 5.15 if you still need to use Qt 5. Afaik there are no up-to-date backports so the only way to get an up to date version of Qt with board specific features enabled for running on your Raspberry Pi is to build it yourself.Įven if this tutorial concentrates on the Qt 5.12.10 LTS, the Long Time Support release, the guide is tested to work on 5.14 and 5.15 too. Raspberry Pi OS (aka Raspbian), based on Debian Buster, comes with an old version of Qt 5.11 that is already outdated.
0 Comments
Leave a Reply. |