Build from Source¶
KFilter6 is a Qt6 Widgets application built with CMake and C++17.
Requirements¶
Required:
- CMake 3.21 or newer
- C++17-capable compiler
- Qt6 Core
- Qt6 Widgets
Useful for development:
- Ninja
- CTest
KFilter6 does not require KDE Frameworks.
Release-style build¶
From the repository root:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j"$(nproc)"
Run:
./build/kfilter_qt6
Run the test suite¶
ctest --test-dir build --output-on-failure
Development build with Ninja¶
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
cmake --build build
ctest --test-dir build --output-on-failure
Distribution-specific packages¶
Exact Qt6 package names depend on the Linux distribution. On many distributions, Qt6 Core and Widgets are provided by the Qt6 base development package.
Gentoo-specific dependency notes can be added here when the public source distribution is finalized.