# Note: depends on mesa
wget -c https://download.qt.io/official_releases/qt/5.11/5.11.1/submodules/qtbase-everywhere-src-5.11.1.tar.xz
tar -xJf qtbase-everywhere-src-5.11.1.tar.xz
cd qtbase-everywhere-src-5.11.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
make # Doesn't mind -j#
make install