%general-entities; ]> qt-components-&qt5-version; Qt Components Introduction to qt5 components These instructions show how to build additional Qt5 components beyond . They are not applicable if the full package has been built. &lfs120_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &qt5-md5sum; Download size: &qt5-size; Additional Downloads Now that qt5 updates are restricted to commercial customers, upstream patches for the various modules are being curated at kde. Patches for the modules required by packages in BLFS have been aggregated for the non-modular qt5 build we use. Required patch: Details of the kde curation can be found at and . qt5 components Dependencies Required Recommended dependencies for qtimageformats , , , and Recommended dependencies for qtmultimedia , , and Installation of qt5 components There are a few extra components needed for different packages in BLFS. These are qtimageformats, qtlocation, qtwebchannel, qtdoc, and qtmultimedia. Only those components specified for a specific package are needed. You only need to build the relevant component(s). First, apply a patch to pull in the fixes curated by KDE for some of the modules listed above: patch -Np1 -i ../qt-everywhere-opensource-src-&qt5-version;-kf5-1.patch Next, if you are installing qtlocation, fix the build with GCC-13: sed -e "/pragma once/a#include <cstdint>" \ -i qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp \ qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp \ qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp Install each desired component by running the following commands: cd <component> qmake <component>.pro make As the &root; user: make install Remove references to the build directory from installed library dependency (prl) files by running the following command as the &root; user: find $QT5DIR/ -name \*.prl \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; Contents Installed Programs Installed Libraries Installed Directories None libQt5<component>.so $QT5DIR/qml/<component>, $QT5DIR/lib/cmake/<component>, and $QT5DIR/include/<component>