Skip to content

How to develop and test Fips for GL ES

Konstantin Malanchev edited this page Aug 20, 2019 · 4 revisions

For running Fips with GL ES, one needs to have Qt libraries build with -opengl es2 configuration option. This is not something we can meet in a wild, especially on Linux x86_64 platforms. There is a Flatpak platform SDK which was crafted for this purpose.

First, add the following flatpak remote repository to your system:

flatpak --user remote-add --if-not-exists matwey https://curl.sai.msu.ru/~matwey/flatpak/matwey.flatpakrepo

Then, branch 5.12-gles of org.kde.Sdk can be installed from this repository:

flatpak --user install org.kde.Sdk//5.12-gles

When installed, we may run shell inside this platform SDK container:

flatpak --user run --filesystem=$HOME --share=network --share=ipc --socket=x11 --device=dri --command=bash org.kde.Sdk//5.12-gles

In this shell, all required tools for building Fips are already provided, and the application can be build as usual.

If you are unsure with your flatpak setup, the last two commands can be done with the upstream SDK org.kde.Sdk//5.12, given you have flathub repo added. Then, you get very similar environment with Qt 5.12 and ordinary OpenGL.

Clone this wiki locally