groupgets / GetThermal

Cross-platform USB thermal camera viewer
MIT License
236 stars 94 forks source link

Raspberry Pi Wiki guide: OpenGL and package qt5-default #65

Open cyn0th opened 8 months ago

cyn0th commented 8 months ago

First, the GL drivers in new releases of Raspbian are included by default, consider adding the following lines to the Installation guide for the Raspberry Pi:

If the GL Driver option is not available in the raspi-config menu, it may be included by default and no further configuration is needed in this step.

Second, following the steps in the Wiki for building for the Raspberry Pi (in my case RPi 4), when you need to install the development packages the apt-get fails because there is no candidate for package qt5-default. This package was renamed as per this forum message. The package name is now qt5-assistant. The following command works for me in this step as a substitute to the existing one:

sudo apt-get install qt5-assistant qtmultimedia5-dev qtdeclarative5-dev \
    qml-module-qtquick-controls2 qml-module-qtmultimedia \
    qml-module-qtquick-layouts qml-module-qtquick-window2 \
    qml-module-qtquick-templates2 qml-module-qtgraphicaleffects \
    libusb-1.0-0-dev cmake git

The rest of the installation went smoothly.

Please consider changing the Wiki guide for the RPi. Its a small change that could help people that come across this installation guide. Sorry for including two actions in the issue, but they are minor edits to the Wiki, two separate issues would have been overkill IMO. Have a great day!