Introduction to libqtxdg

The libqtxdg is a Qt implementation of the xdg specifications.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

libqtxdg Dependencies


CMake-3.28.3 and (Qt-5.15.12 or qt-alternate-5.15.12)

Optional (runtime)

GTK+-3.24.41 (for gtk-update-icon-cache)

Installation of libqtxdg

Install libqtxdg by running the following commands:

mkdir -v build &&
cd       build &&

      -DCMAKE_BUILD_TYPE=Release  \
      ..       &&


This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

-DBUILD_TESTS=ON: Use this option if you wish to build tests. If you pass this option, you can run the tests by executing: make test.

-DBUILD_DEV_UTILS=ON: Use this switch if you wish to build and install the development utilities.


Installed Programs: None
Installed Library: and
Installed Directories: /usr/include/{qt5xdg,qt5xdgiconloader} and /usr/share/cmake/{qt5xdg,qt5xdgiconloader}

Short Descriptions

contains the libQt5Xdg API functions

contains the libQt5XdgIconLoader API functions