Baloo Installation Instructions
Download
git clone git://anongit.kde.org/baloo.git
Dependencies
- ECM 5.64.0
- Qt5DBus
- Qt5Widgets
- Qt5Qml
- Qt5Quick
- Qt5Test
- KFileMetaData
- KDBusAddons
- KIO
- Solid
- KCrash
- KAuth
- KIdleTime
- KConfig
- KI18n
- Inotify
Build instructions
Prerequisites
- A C++ compiler
- Qt 5.x
- KDE Frameworks - I18n, Config, IdleTime, Auth, Crash, Solid, KIO, DBusAddons, KFileMetaData
On Arch Linux, install the following libraries:
Setting up the development environment
Baloo installs a number of executables and libraries. While these can be installed in /usr/
, that requires root access and typically interfers with the distro packages. Instead we prefer installing Baloo locally, and updating the required environment variables. This isolates environment also protects us from mistakes.
Python development typically also uses an isolated environment called a virtual environment. For now we can just use their tool.
This builds and installs Baloo in the virtual environment.
Usage
CMake:
find_package(KF5Baloo) target_link_libraries(yourapp KF5::Baloo)
qmake:
QT += Baloo