#framework #kde #env-var #base #wrapping #methods #containing

kde_frameworks

A crate containing useful methods for wrapping KDE Frameworks

6 releases

0.2.0 Apr 9, 2022
0.1.4 Apr 8, 2022
0.1.2 Jan 10, 2022

#4 in #kde

36 downloads per month
Used in 3 crates

MIT license

8KB
92 lines

kde_frameworks

Crates.io Documentation

Introduction

This crate serves as the base for all the KDE Frameworks Crate written by me. It sets important environment variables and provides helpful methods required in most KDE Frameworks.

Currently, mostly supposed to be used as a build dependency.

Install kf5-config

Ubuntu

sudo apt install libkf5kdelibs4support5-bin

Fedroa

sudo dnf install kf5-kdelibs4support

Environment Variables Read By this Crate

  • It is optional to provide these variables. If these variables are not present, then kf5-config must be present in the path.
  1. KF_LIBRARY_PATH : Path for KDE Frameworks Library Location.
  2. KF_INCLUDE_PATH : Path for KDE Frameworks Header Files Location.
  3. KF_VERSION : KDE Frameworks Version. Format <major>.<minor>.<patch>.

Environment Variables Set By this Crate

  1. KF_LIBRARY_PATH : Path for KDE Frameworks Library Location.
  2. KF_INCLUDE_PATH : Path for KDE Frameworks Header Files Location.
  3. KF_VERSION : KDE Frameworks Version Detected.
  4. KF_FOUND : Flag to specify if KDE Frameworks is found or not.

Dependencies

~74KB