# Note: depends on mesa
wget -c https://download.qt.io/official_releases/qt/5.15/5.15.1/submodules/qtbase-everywhere-src-5.15.1.tar.xz
tar -xJf qtbase-everywhere-src-5.15.1.tar.xz
cd qtbase-everywhere-src-5.15.1
find . '(' -name '*.so' -or -name '*.debug' -or -name 'licheck*' ')' -delete # Remove blobs
mkdir -p build
cd build
../configure -prefix "/usr" -archdatadir "/usr/lib/qt" -datadir "/usr/share/qt" -examplesdir "/usr/share/qt/examples" -testsdir "/usr/share/qt/tests" -confirm-license -opensource
make # Doesn't mind -j#
make install