Union is a style engine designed to provide a unified style description to a set of separate output styles.
To use Union, you will need to have Union installed, either by installing it using your favorite package manager, or by building it from source.
To use Union in a QtQuick or Kirigami application, run the application with the
environment variable QT_QUICK_CONTROLS_STYLE set to org.kde.union.
To learn more about how to use or develop Union, see the Union Documentation.
To build Union, you will need a recent version of CMake and Qt version 6.9 or higher. You will also need to build cxx-rust-cssparser which is required for the default CSS input format.
You can build and install Union manually with CMake like this:
cmake -B build/ --install-prefix /usr
cmake --build build/ --parallel
sudo cmake --install build/Or with kde-builder:
kde-builder unionTo allow building the code examples, use:
cmake -B build --install-prefix /usr -DBUILD_EXAMPLES=ONOr:
kde-builder union
kde-builder union --no-include-dependencies --cmake-options=-DBUILD_EXAMPLES=ONYou may contact the Union developers in the Union room on Matrix.